Skip to content

Commit

Permalink
Make P111_RF.ino compile again in recent ESPEasy
Browse files Browse the repository at this point in the history
  • Loading branch information
TD-er authored Nov 25, 2020
1 parent 2bf014b commit 95fbfad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _P111_RF.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

#include "_Plugin_Helper.h"
#ifdef USES_P111

//#######################################################################################################
//#################################### Plugin 111: Input RF #############################################
Expand All @@ -15,8 +16,8 @@
This program was developed independently and it is not supported in any way.
*/

#ifdef PLUGIN_BUILD_TESTING

// Library: https://github.com/sui77/rc-switch
#include <RCSwitch.h>
RCSwitch *rfReceiver;

Expand All @@ -39,7 +40,7 @@ boolean Plugin_111(byte function, struct EventStruct *event, String& string)
{
Device[++deviceCount].Number = PLUGIN_ID_111;
Device[deviceCount].Type = DEVICE_TYPE_SINGLE;
Device[deviceCount].VType = SENSOR_TYPE_LONG;
Device[deviceCount].VType = Sensor_VType::SENSOR_TYPE_LONG;
Device[deviceCount].Ports = 0;
Device[deviceCount].InverseLogicOption = false;
Device[deviceCount].FormulaOption = false;
Expand Down

0 comments on commit 95fbfad

Please sign in to comment.