Add double tap guard for Additional Features

- Add Issues
- Fix suspend
- Add MIRYOKU_KLUDGE_DOUBLETAPBOOT
This commit is contained in:
Manna Harbour
2022-10-13 17:18:28 +11:00
parent 92dca97c92
commit f6b87ad38c
7 changed files with 112 additions and 53 deletions

View File

@@ -0,0 +1,18 @@
// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
#pragma once
#if defined (MIRYOKU_KLUDGE_DOUBLETAPBOOT)
#if defined (MIRYOKU_KLUDGE_SUSPEND)
#define U_BOOT &u_suspend
#else
#define U_BOOT &u_bootloader
#endif
#else
#if defined (MIRYOKU_KLUDGE_SUSPEND)
#define U_BOOT &suspend
#else
#define U_BOOT &bootloader
#endif
#endif