send speed val on init
This commit is contained in:
8
main.c
8
main.c
@@ -216,12 +216,14 @@ int main()
|
||||
{
|
||||
wdt_reset(); // WDT reset at least every sec
|
||||
|
||||
//if (flag_refresh_inStates) {
|
||||
#if PLC_MQTT_ENABLED
|
||||
if(millis() < 10)
|
||||
send_abzug_speed();
|
||||
#endif
|
||||
|
||||
ioHelperReadPins();
|
||||
ioHelperDebounce();
|
||||
ioHelperEdgeDetector();
|
||||
// flag_refresh_inStates = 0;
|
||||
//}
|
||||
|
||||
// Toggle all outs which are set to blinking
|
||||
if(millis() - timer_blink_outs > 500){
|
||||
|
||||
Reference in New Issue
Block a user