|
@ -41,6 +41,7 @@ T_key_structer_t T_key_structer = { |
|
|
* ***************************************************heating_plate*************************************************** * |
|
|
* ***************************************************heating_plate*************************************************** * |
|
|
***********************************************************************************************************************/ |
|
|
***********************************************************************************************************************/ |
|
|
heating_plate_structer_t heating_plate_structer = { |
|
|
heating_plate_structer_t heating_plate_structer = { |
|
|
|
|
|
.heating_plate_preheat_start_flag = false, |
|
|
.heating_plate_preheat_finished_flag = false, |
|
|
.heating_plate_preheat_finished_flag = false, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
@ -74,7 +75,8 @@ extern "C" void app_main(void) |
|
|
T_key_init(&T_key_structer); |
|
|
T_key_init(&T_key_structer); |
|
|
T_wifi_init(); |
|
|
T_wifi_init(); |
|
|
T_temp_init(); |
|
|
T_temp_init(); |
|
|
|
|
|
|
|
|
|
|
|
T_heating_plate_init(&heating_plate_structer); |
|
|
|
|
|
|
|
|
T_key_registered_cb(process_key_event); |
|
|
T_key_registered_cb(process_key_event); |
|
|
T_wifi_registered_cb(); |
|
|
T_wifi_registered_cb(); |
|
|
T_heating_plate_registered_cb(T_temp_get_data); |
|
|
T_heating_plate_registered_cb(T_temp_get_data); |
|
|