Workaround for force-exits on awareness alarm giving a second shot at solving it (make all recovery alarms open as main alarms)
This commit is contained in:
1 parent
7c4f0804f4
commit
f1ba4f45ff
1 file changed
+3
-3
+3
-3
@@ -833,12 +833,12 @@ static void alarm_window_unload() {
|
|||||||
|
|
||||||
static void push_alarm_window() {
|
static void push_alarm_window() {
|
||||||
switch (s_alarm_reason) {
|
switch (s_alarm_reason) {
|
||||||
|
case WAKE_RECOVERY_AWARENESS_ALARM:
|
||||||
|
s_alarm_reason = WAKE_RECOVERY_MAIN_ALARM;
|
||||||
|
[[fallthrough]];
|
||||||
case WAKE_RECOVERY_MAIN_ALARM:
|
case WAKE_RECOVERY_MAIN_ALARM:
|
||||||
send_zap(settings.PavlokMax);
|
send_zap(settings.PavlokMax);
|
||||||
break;
|
break;
|
||||||
case WAKE_RECOVERY_AWARENESS_ALARM:
|
|
||||||
send_zap(settings.PavlokMax);
|
|
||||||
[[fallthrough]];
|
|
||||||
case WAKE_AWARENESS_ALARM:
|
case WAKE_AWARENESS_ALARM:
|
||||||
s_awareness_zap_intensity = persist_read_int(STORAGE_KEY_PAVLOK_INTENSITY);
|
s_awareness_zap_intensity = persist_read_int(STORAGE_KEY_PAVLOK_INTENSITY);
|
||||||
vibes_long_pulse();
|
vibes_long_pulse();
|
||||||
|
|||||||
Reference in new issue
Block a user