Replace suspend with soft off

This commit is contained in:
Manna Harbour
2024-04-30 16:10:31 +10:00
parent 0599d01e51
commit 347059d847
5 changed files with 27 additions and 27 deletions

View File

@@ -20,8 +20,8 @@ MIRYOKU_LAYER_LIST
#undef MIRYOKU_X
#if defined (MIRYOKU_KLUDGE_DOUBLETAPBOOT)
#if defined (MIRYOKU_KLUDGE_SUSPEND)
MIRYOKU_DOUBLE_TAP_GUARD(u_suspend, &suspend)
#if defined (MIRYOKU_KLUDGE_SOFT_OFF)
MIRYOKU_DOUBLE_TAP_GUARD(u_soft_off, &soft_off)
#else
MIRYOKU_DOUBLE_TAP_GUARD(u_bootloader, &bootloader)
#endif

View File

@@ -4,14 +4,14 @@
#pragma once
#if defined (MIRYOKU_KLUDGE_DOUBLETAPBOOT)
#if defined (MIRYOKU_KLUDGE_SUSPEND)
#define U_BOOT &u_suspend
#if defined (MIRYOKU_KLUDGE_SOFT_OFF)
#define U_BOOT &u_soft_off
#else
#define U_BOOT &u_bootloader
#endif
#else
#if defined (MIRYOKU_KLUDGE_SUSPEND)
#define U_BOOT &suspend
#if defined (MIRYOKU_KLUDGE_SOFT_OFF)
#define U_BOOT &soft_off
#else
#define U_BOOT &bootloader
#endif