Sanitized reset handling and removed excess logging from postcard.c.

This commit is contained in:
OBattler
2020-05-31 04:49:23 +02:00
parent df05daca51
commit 228e3f999c
4 changed files with 4 additions and 28 deletions

View File

@@ -819,26 +819,6 @@ pc_reset_hard(void)
}
void
pc_reset(int hard)
{
plat_pause(1);
plat_delay_ms(100);
nvr_save();
config_save();
if (hard)
pc_reset_hard();
else
pc_send_cad();
plat_pause(0);
}
void
pc_close(thread_t *ptr)
{