diff src/cs/layer1/include/l1_trace.h @ 292:0f688d07b068

block deep sleep on activity in new PWT and vibrator drivers
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Mar 2022 00:29:19 +0000
parents 4e78acac3d88
children
line wrap: on
line diff
--- a/src/cs/layer1/include/l1_trace.h	Sat Mar 26 19:31:18 2022 +0000
+++ b/src/cs/layer1/include/l1_trace.h	Sun Mar 27 00:29:19 2022 +0000
@@ -100,6 +100,8 @@
   #define BIG_SLEEP_DUE_TO_DSP_TRACES 6  // deep sleep is forbiden by the DSP
   #define BIG_SLEEP_DUE_TO_BLUETOOTH  7  // deep sleep is forbiden by the Bluetooth module
   #define BIG_SLEEP_DUE_TO_CHARGING   8  // deep sleep is forbiden by battery charging
+  #define BIG_SLEEP_DUE_TO_BUZZER     9  // deep sleep is forbiden by buzzer activity
+  #define BIG_SLEEP_DUE_TO_VIBRATOR  10  // deep sleep is forbiden by vibrator activity
 
   void  Trace_Packet_Transfer      (UWORD8  prev_crc_error); // Previous RX blocks CRC_ERROR summary
   void  l1_display_buffer_trace_fct(void);
@@ -5671,6 +5673,8 @@
 #define BIG_SLEEP_DUE_TO_DSP_TRACES 6  // deep sleep is forbiden by the DSP
 #define BIG_SLEEP_DUE_TO_BLUETOOTH  7  // deep sleep is forbiden by the Bluetooth module
 #define BIG_SLEEP_DUE_TO_CHARGING   8  // deep sleep is forbiden by battery charging
+#define BIG_SLEEP_DUE_TO_BUZZER     9  // deep sleep is forbiden by buzzer activity
+#define BIG_SLEEP_DUE_TO_VIBRATOR  10  // deep sleep is forbiden by vibrator activity
 
 /***********************************************************************************************************/
 /* Begin header