From 6018a8f83e6ea555548fd10c3f335fba984e0ed7 Mon Sep 17 00:00:00 2001 From: Jacob Sam-La Rose Date: Sat, 8 Oct 2022 19:08:53 +0100 Subject: [PATCH] Update reset.h for soft shutdown https://github.com/zmkfirmware/zmk/issues/1292#issuecomment-1264603539 --- app/include/dt-bindings/zmk/reset.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/include/dt-bindings/zmk/reset.h b/app/include/dt-bindings/zmk/reset.h index 2b3d8760d5c..84a6ad4a8d5 100644 --- a/app/include/dt-bindings/zmk/reset.h +++ b/app/include/dt-bindings/zmk/reset.h @@ -10,4 +10,5 @@ // AdaFruit nrf52 Bootloader Specific. See // https://github.com/adafruit/Adafruit_nRF52_Bootloader/blob/d6b28e66053eea467166f44875e3c7ec741cb471/src/main.c#L107 -#define RST_UF2 0x57 \ No newline at end of file +#define RST_UF2 0x57 +#define RST_SUSPEND 0xFE