change function call name
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "kraftsensor.h"
|
||||
#include "notaus.h"
|
||||
#include "pid_controller.h"
|
||||
#include "common.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
@@ -46,7 +47,7 @@ double pid(PID_vars *vars, double current_err) {
|
||||
return output;
|
||||
}
|
||||
|
||||
void send_info(void);
|
||||
extern void send_settings(void);
|
||||
void do_taenzer(){
|
||||
|
||||
/* Homing */
|
||||
@@ -65,13 +66,13 @@ void do_taenzer(){
|
||||
if (read_Input(BTN_KRAFT_PLUS, RISING)) {
|
||||
taenzer_state.force_setpoint += 1000;
|
||||
#if PLC_MQTT_ENABLED
|
||||
send_info();
|
||||
send_settings();
|
||||
#endif
|
||||
}
|
||||
if (read_Input(BTN_KRAFT_MINUS, RISING)) {
|
||||
taenzer_state.force_setpoint -= 1000;
|
||||
#if PLC_MQTT_ENABLED
|
||||
send_info();
|
||||
send_settings();
|
||||
#endif
|
||||
}
|
||||
if (read_Input(BTN_TAENZER_START, RISING)) {
|
||||
|
||||
Reference in New Issue
Block a user