Domotique/WifiControlSensor/Teleinfo.h

20 lines
334 B
C

#pragma once
#include "debug_sketch.h"
#ifdef CONFIG_ENABLE_TELEINFO
#include <LibTeleinfo.h>
int TeleinfoSetup();
int TeleinfoProcess();
#else
typedef struct _ValueList {
} ValueList;
int TeleinfoSetup() {
SKETCH_DEBUG_PRINTLN("Teleinfo is disabled at build time");
return -1;
};
int TeleinfoProcess(){
return 0;
};
#endif