change change reference to renamed function

master
Eggert Jung 4 years ago
parent b2ef7d8240
commit aa30d70cd6

@ -15,14 +15,14 @@ void timer3_init()
} }
void send_abzug_speed(void); void send_info(void);
void do_abzug(){ void do_abzug(){
if (read_Input(BTN_ABZUG_EIN, RISING)) { if (read_Input(BTN_ABZUG_EIN, RISING)) {
TCCR3B |= _BV(CS31); TCCR3B |= _BV(CS31);
set_Output(LED_ABZUG, ON); set_Output(LED_ABZUG, ON);
#if PLC_MQTT_ENABLED #if PLC_MQTT_ENABLED
send_abzug_speed(); send_info();
#endif #endif
} }
@ -30,7 +30,7 @@ void do_abzug(){
TCCR3B &= ~(_BV(CS31)); TCCR3B &= ~(_BV(CS31));
set_Output(LED_ABZUG, OFF); set_Output(LED_ABZUG, OFF);
#if PLC_MQTT_ENABLED #if PLC_MQTT_ENABLED
send_abzug_speed(); send_info();
#endif #endif
} }
@ -40,7 +40,7 @@ void do_abzug(){
else else
abzug_speed = 1000; abzug_speed = 1000;
#if PLC_MQTT_ENABLED #if PLC_MQTT_ENABLED
send_abzug_speed(); send_info();
#endif #endif
} }
@ -50,7 +50,7 @@ void do_abzug(){
else else
abzug_speed = 10; abzug_speed = 10;
#if PLC_MQTT_ENABLED #if PLC_MQTT_ENABLED
send_abzug_speed(); send_info();
#endif #endif
} }
@ -60,7 +60,7 @@ void do_abzug(){
else else
abzug_speed = 1000; abzug_speed = 1000;
#if PLC_MQTT_ENABLED #if PLC_MQTT_ENABLED
send_abzug_speed(); send_info();
#endif #endif
} }
@ -70,7 +70,7 @@ void do_abzug(){
else else
abzug_speed = 10; abzug_speed = 10;
#if PLC_MQTT_ENABLED #if PLC_MQTT_ENABLED
send_abzug_speed(); send_info();
#endif #endif
} }