1.mcu发来SF_MCU_STARTUP_OFF及时关机

This commit is contained in:
payton 2024-02-04 19:06:43 +08:00
parent 4b49d2551d
commit 9c46bc33f6

View File

@ -241,6 +241,10 @@ int main(int argc, char *argv[])
{ {
sf_power_off(); sf_power_off();
} }
else if (SF_MCU_STARTUP_OFF == startup) {
sf_power_off_msg_to_cardv();
printf("[%s:%d] SF_MCU_STARTUP_OFF\n", __FUNCTION__, __LINE__);
}
//if((SF_MCU_STARTUP_ONKEY == startup) || (TRUE == autosend)) //if((SF_MCU_STARTUP_ONKEY == startup) || (TRUE == autosend))
{ {
//////////////////////////////// ////////////////////////////////