change change reference to renamed function
This commit is contained in:
14
abzug.c
14
abzug.c
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user