|
@ -59,18 +59,6 @@ void process_camera_identifies_failed_event(void) |
|
|
|
|
|
|
|
|
void process_key_event(void) |
|
|
void process_key_event(void) |
|
|
{ |
|
|
{ |
|
|
if (camera_recognition_reaction_plate()) |
|
|
|
|
|
{ |
|
|
|
|
|
/* 有反应板的处理 */ |
|
|
|
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
/* 没有反应板的处理(加热) */ |
|
|
|
|
|
if (T_temp_get_data() <= 48.0) |
|
|
|
|
|
{ |
|
|
|
|
|
T_heating_plate_start(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
extern "C" void app_main(void) |
|
|
extern "C" void app_main(void) |
|
|