Compensate timer during prower down
This commit is contained in:
parent
10a6b2c7d8
commit
05795cb003
6 changed files with 27 additions and 15 deletions
|
@ -186,6 +186,6 @@ void matrix_power_down(void) {
|
|||
if (USB_DeviceState == DEVICE_STATE_Configured) return;
|
||||
if (timer_elapsed32(matrix_last_modified) <= MATRIX_POWER_SAVE) return;
|
||||
KEY_POWER_OFF();
|
||||
suspend_power_down(WDTO_15MS);
|
||||
suspend_power_down();
|
||||
matrix_power = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue