From fc5103de8d09919f1afff0d7c81aaabda198eed1 Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Wed, 10 Jan 2018 22:34:36 +0100 Subject: [PATCH] oops...somehow git did made some changes :( --- README.md | 2 +- src/_P001_Switch.ino | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index 3a15dbc2e..ede2d1d5c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ESPEasy (v2.0 stable branch) +# ESPEasy (development branch) Build status: [![Build Status](https://travis-ci.org/letscontrolit/ESPEasy.svg?branch=mega)](https://travis-ci.org/letscontrolit/ESPEasy) diff --git a/src/_P001_Switch.ino b/src/_P001_Switch.ino index 9af953292..acd5cec48 100644 --- a/src/_P001_Switch.ino +++ b/src/_P001_Switch.ino @@ -22,17 +22,6 @@ boolean Plugin_001_read_switch_state(struct EventStruct *event) { return digitalRead(Settings.TaskDevicePin1[event->TaskIndex]) == HIGH; } -// Make sure the initial default is a switch (value 0) -#define PLUGIN_001_TYPE_SWITCH 0 -#define PLUGIN_001_TYPE_DIMMER 1 -#define PLUGIN_001_BUTTON_TYPE_NORMAL_SWITCH 0 -#define PLUGIN_001_BUTTON_TYPE_PUSH_ACTIVE_LOW 1 -#define PLUGIN_001_BUTTON_TYPE_PUSH_ACTIVE_HIGH 2 - -boolean Plugin_001_read_switch_state(struct EventStruct *event) { - return digitalRead(Settings.TaskDevicePin1[event->TaskIndex]) == HIGH; -} - boolean Plugin_001(byte function, struct EventStruct *event, String& string) { boolean success = false;