暂存的更新
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include "by_frame.h"
|
||||
#include "by_rt_button.h"
|
||||
#include "by_fan_control.h"
|
||||
uint8_t last_state;
|
||||
|
||||
int main(void)
|
||||
{
|
||||
TYPE_UNION test_data[BY_FRAME_DATA_NUM];
|
||||
@@ -50,7 +50,7 @@ int main(void)
|
||||
jj_param_eeprom_init();
|
||||
jj_bt_init();
|
||||
by_rb_init();
|
||||
// by_pwm_init();
|
||||
by_pwm_init();
|
||||
by_buzzer_init();
|
||||
by_frame_init();
|
||||
|
||||
@@ -70,9 +70,5 @@ int main(void)
|
||||
in_angle = test_data[0].f32;
|
||||
in_state = test_data[2].u8[0];
|
||||
in_stop = test_data[2].u8[1];
|
||||
if (last_state != in_state) {
|
||||
bt_printf("changing to%u\r\n", in_state);
|
||||
}
|
||||
last_state = in_state;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user