oops...somehow git did made some changes :(

This commit is contained in:
Edwin Eefting
2018-01-10 22:34:36 +01:00
parent 14b6345277
commit fc5103de8d
2 changed files with 1 additions and 12 deletions
+1 -1
View File
@@ -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)
-11
View File
@@ -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;