feat(control_plane): add light standby coordinator
This commit is contained in:
@@ -130,6 +130,9 @@ static void control_plane_dispatch_key_event(const control_plane_key_event_t *ev
|
||||
event->press_duration_ms,
|
||||
event->click_count);
|
||||
|
||||
(void)control_plane_light_standby_record_activity(
|
||||
CONTROL_PLANE_LIGHT_STANDBY_ACTIVITY_KEY);
|
||||
|
||||
if (event->key_id == CONTROL_PLANE_KEY_ID_RESET) {
|
||||
if (event->type == CONTROL_PLANE_KEY_EVENT_LONG_PRESS_START) {
|
||||
control_plane_reset_wifi_provisioning_and_restart();
|
||||
|
||||
Reference in New Issue
Block a user