FreeCalypso > hg > fc-tourmaline
comparison src/cs/layer1/cfile/l1_trace.c @ 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 |
comparison
equal
deleted
inserted
replaced
291:a72feaed133a | 292:0f688d07b068 |
---|---|
1604 array_special_cases[index]); | 1604 array_special_cases[index]); |
1605 } | 1605 } |
1606 else | 1606 else |
1607 // big sleep | 1607 // big sleep |
1608 { | 1608 { |
1609 char *array_string[]={"undefined","light on","uart","sim","gauging","sleep mode","DSP","BT","charging"}; | 1609 char *array_string[]={"undefined","light on","uart","sim","gauging","sleep mode","DSP","BT","charging","buzzer","vibrator"}; |
1610 sprintf (str," big sleep: %ld %ld %d %d (cause:%s) %s\n\r", | 1610 sprintf (str," big sleep: %ld %ld %d %d (cause:%s) %s\n\r", |
1611 ((T_TRACE_INFO *)(msg->SigP))->tab[0], | 1611 ((T_TRACE_INFO *)(msg->SigP))->tab[0], |
1612 ((T_TRACE_INFO *)(msg->SigP))->tab[1], | 1612 ((T_TRACE_INFO *)(msg->SigP))->tab[1], |
1613 ((T_TRACE_INFO *)(msg->SigP))->tab[3], | 1613 ((T_TRACE_INFO *)(msg->SigP))->tab[3], |
1614 int_id, | 1614 int_id, |
8057 array_special_cases[index]); | 8057 array_special_cases[index]); |
8058 } | 8058 } |
8059 else | 8059 else |
8060 // big sleep | 8060 // big sleep |
8061 { | 8061 { |
8062 char *array_string[]={"undefined","light on","uart","sim","gauging","sleep mode","DSP","BT","charging"}; | 8062 char *array_string[]={"undefined","light on","uart","sim","gauging","sleep mode","DSP","BT","charging","buzzer","vibrator"}; |
8063 sprintf (str," big sleep: %ld %ld %d %d (cause:%s) %s\n\r", | 8063 sprintf (str," big sleep: %ld %ld %d %d (cause:%s) %s\n\r", |
8064 start_fn, | 8064 start_fn, |
8065 end_fn, | 8065 end_fn, |
8066 wakeup_type, | 8066 wakeup_type, |
8067 int_id, | 8067 int_id, |