summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-17 12:27:34 +0000
committerGitHub <noreply@github.com>2024-02-17 12:27:34 +0000
commite2dbe39b9475b0d46702e5a32432cb248d72290c (patch)
tree0703d8929f4119bd99a6abe6875736a6d4e1f038
parent538333571754c3cbeec92bc793b1b8023744cbbd (diff)
Removal of bootmagic lite terminology (#22979)
-rw-r--r--data/mappings/info_config.hjson8
-rw-r--r--docs/feature_bootmagic.md28
-rw-r--r--docs/ja/feature_bootmagic.md10
-rw-r--r--keyboards/crkbd/post_config.h16
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c12
-rw-r--r--keyboards/jorne/post_config.h16
-rw-r--r--keyboards/junco/rev1/post_config.h8
-rw-r--r--keyboards/nullbitsco/scramble/keymaps/oled/config.h4
-rw-r--r--keyboards/phoenix/phoenix.c2
-rw-r--r--quantum/bootmagic/bootmagic.c54
-rw-r--r--quantum/bootmagic/bootmagic.h23
11 files changed, 103 insertions, 78 deletions
diff --git a/data/mappings/info_config.hjson b/data/mappings/info_config.hjson
index 2c4a75df89..e2e9569372 100644
--- a/data/mappings/info_config.hjson
+++ b/data/mappings/info_config.hjson
@@ -36,10 +36,10 @@
36 "BACKLIGHT_DEFAULT_LEVEL": {"info_key": "backlight.default.brightness", "value_type": "int"}, 36 "BACKLIGHT_DEFAULT_LEVEL": {"info_key": "backlight.default.brightness", "value_type": "int"},
37 37
38 // Bootmagic 38 // Bootmagic
39 "BOOTMAGIC_LITE_COLUMN": {"info_key": "bootmagic.matrix.1", "value_type": "int"}, 39 "BOOTMAGIC_COLUMN": {"info_key": "bootmagic.matrix.1", "value_type": "int"},
40 "BOOTMAGIC_LITE_COLUMN_RIGHT": {"info_key": "split.bootmagic.matrix.1", "value_type": "int"}, 40 "BOOTMAGIC_COLUMN_RIGHT": {"info_key": "split.bootmagic.matrix.1", "value_type": "int"},
41 "BOOTMAGIC_LITE_ROW": {"info_key": "bootmagic.matrix.0", "value_type": "int"}, 41 "BOOTMAGIC_ROW": {"info_key": "bootmagic.matrix.0", "value_type": "int"},
42 "BOOTMAGIC_LITE_ROW_RIGHT": {"info_key": "split.bootmagic.matrix.0", "value_type": "int"}, 42 "BOOTMAGIC_ROW_RIGHT": {"info_key": "split.bootmagic.matrix.0", "value_type": "int"},
43 43
44 // Caps Word 44 // Caps Word
45 "BOTH_SHIFTS_TURNS_ON_CAPS_WORD": {"info_key": "caps_word.both_shifts_turns_on", "value_type": "flag"}, 45 "BOTH_SHIFTS_TURNS_ON_CAPS_WORD": {"info_key": "caps_word.both_shifts_turns_on", "value_type": "flag"},
diff --git a/docs/feature_bootmagic.md b/docs/feature_bootmagic.md
index 4239cdfd2a..564760be92 100644
--- a/docs/feature_bootmagic.md
+++ b/docs/feature_bootmagic.md
@@ -1,8 +1,8 @@
1# Bootmagic Lite :id=bootmagic-lite 1# Bootmagic :id=bootmagic
2 2
3The Bootmagic Lite feature that only handles jumping into the bootloader. This is great for boards that don't have a physical reset button, giving you a way to jump into the bootloader 3The Bootmagic feature that only handles jumping into the bootloader. This is great for boards that don't have a physical reset button, giving you a way to jump into the bootloader
4 4
5On some keyboards Bootmagic Lite is disabled by default. If this is the case, it must be explicitly enabled in your `rules.mk` with: 5On some keyboards Bootmagic is disabled by default. If this is the case, it must be explicitly enabled in your `rules.mk` with:
6 6
7```make 7```make
8BOOTMAGIC_ENABLE = yes 8BOOTMAGIC_ENABLE = yes
@@ -11,15 +11,15 @@ BOOTMAGIC_ENABLE = yes
11Additionally, you may want to specify which key to use. This is especially useful for keyboards that have unusual matrices. To do so, you need to specify the row and column of the key that you want to use. Add these entries to your `config.h` file: 11Additionally, you may want to specify which key to use. This is especially useful for keyboards that have unusual matrices. To do so, you need to specify the row and column of the key that you want to use. Add these entries to your `config.h` file:
12 12
13```c 13```c
14#define BOOTMAGIC_LITE_ROW 0 14#define BOOTMAGIC_ROW 0
15#define BOOTMAGIC_LITE_COLUMN 1 15#define BOOTMAGIC_COLUMN 1
16``` 16```
17 17
18By default, these are set to 0 and 0, which is usually the "ESC" key on a majority of keyboards. 18By default, these are set to 0 and 0, which is usually the "ESC" key on a majority of keyboards.
19 19
20And to trigger the bootloader, you hold this key down when plugging the keyboard in. Just the single key. 20And to trigger the bootloader, you hold this key down when plugging the keyboard in. Just the single key.
21 21
22!> Using Bootmagic Lite will **always reset** the EEPROM, so you will lose any settings that have been saved. 22!> Using Bootmagic will **always reset** the EEPROM, so you will lose any settings that have been saved.
23 23
24## Split Keyboards 24## Split Keyboards
25 25
@@ -44,35 +44,35 @@ When [handedness](feature_split_keyboard.md#setting-handedness) is predetermined
44 } 44 }
45``` 45```
46 46
47If you pick the top right key for the right half, it is `R05` on the top layout. Within the key matrix below, `R05` is located on row 4 columnn 4. To use that key as the right half's Bootmagic Lite trigger, add these entries to your `config.h` file: 47If you pick the top right key for the right half, it is `R05` on the top layout. Within the key matrix below, `R05` is located on row 4 columnn 4. To use that key as the right half's Bootmagic trigger, add these entries to your `config.h` file:
48 48
49```c 49```c
50#define BOOTMAGIC_LITE_ROW_RIGHT 4 50#define BOOTMAGIC_ROW_RIGHT 4
51#define BOOTMAGIC_LITE_COLUMN_RIGHT 4 51#define BOOTMAGIC_COLUMN_RIGHT 4
52``` 52```
53 53
54?> These values are not set by default. 54?> These values are not set by default.
55 55
56## Advanced Bootmagic Lite 56## Advanced Bootmagic
57 57
58The `bootmagic_lite` function is defined weakly, so that you can replace this in your code, if you need. A great example of this is the Zeal60 boards that have some additional handling needed. 58The `bootmagic_scan` function is defined weakly, so that you can replace this in your code, if you need. A great example of this is the Zeal60 boards that have some additional handling needed.
59 59
60To replace the function, all you need to do is add something like this to your code: 60To replace the function, all you need to do is add something like this to your code:
61 61
62```c 62```c
63void bootmagic_lite(void) { 63void bootmagic_scan(void) {
64 matrix_scan(); 64 matrix_scan();
65 wait_ms(DEBOUNCE * 2); 65 wait_ms(DEBOUNCE * 2);
66 matrix_scan(); 66 matrix_scan();
67 67
68 if (matrix_get_row(BOOTMAGIC_LITE_ROW) & (1 << BOOTMAGIC_LITE_COLUMN)) { 68 if (matrix_get_row(BOOTMAGIC_ROW) & (1 << BOOTMAGIC_COLUMN)) {
69 // Jump to bootloader. 69 // Jump to bootloader.
70 bootloader_jump(); 70 bootloader_jump();
71 } 71 }
72} 72}
73``` 73```
74 74
75You can define additional logic here. For instance, resetting the EEPROM or requiring additional keys to be pressed to trigger Bootmagic Lite. Keep in mind that `bootmagic_lite` is called before a majority of features are initialized in the firmware. 75You can define additional logic here. For instance, resetting the EEPROM or requiring additional keys to be pressed to trigger Bootmagic. Keep in mind that `bootmagic_scan` is called before a majority of features are initialized in the firmware.
76 76
77## Addenda 77## Addenda
78 78
diff --git a/docs/ja/feature_bootmagic.md b/docs/ja/feature_bootmagic.md
index 2ad6fc8531..c146176a7e 100644
--- a/docs/ja/feature_bootmagic.md
+++ b/docs/ja/feature_bootmagic.md
@@ -139,8 +139,8 @@ BOOTMAGIC_ENABLE = lite
139さらに、どのキーを使うかを指定したほうが良いかもしれません。これは普通ではないマトリックスを持つキーボードで特に便利です。そのためには、使いたいキーの行と列を指定する必要があります。`config.h` ファイルにこれらのエントリを追加します: 139さらに、どのキーを使うかを指定したほうが良いかもしれません。これは普通ではないマトリックスを持つキーボードで特に便利です。そのためには、使いたいキーの行と列を指定する必要があります。`config.h` ファイルにこれらのエントリを追加します:
140 140
141```c 141```c
142#define BOOTMAGIC_LITE_ROW 0 142#define BOOTMAGIC_ROW 0
143#define BOOTMAGIC_LITE_COLUMN 1 143#define BOOTMAGIC_COLUMN 1
144``` 144```
145 145
146デフォルトでは、これらは 0 と 0 に設定されます。これは通常はほとんどのキーボードで "ESC" キーです。 146デフォルトでは、これらは 0 と 0 に設定されます。これは通常はほとんどのキーボードで "ESC" キーです。
@@ -154,8 +154,8 @@ BOOTMAGIC_ENABLE = lite
154`SPLIT_HAND_PIN` のようなオプションで、左右の設定があらかじめ決められている場合は、キーボードの左右で別のキーを設定する必要があるかもしれません。これを行うには、`config.h` ファイルに以下のエントリを追加します。 154`SPLIT_HAND_PIN` のようなオプションで、左右の設定があらかじめ決められている場合は、キーボードの左右で別のキーを設定する必要があるかもしれません。これを行うには、`config.h` ファイルに以下のエントリを追加します。
155 155
156```c 156```c
157#define BOOTMAGIC_LITE_ROW_RIGHT 4 157#define BOOTMAGIC_ROW_RIGHT 4
158#define BOOTMAGIC_LITE_COLUMN_RIGHT 1 158#define BOOTMAGIC_COLUMN_RIGHT 1
159``` 159```
160 160
161デフォルトでは、これらの値は設定されていません。 161デフォルトでは、これらの値は設定されていません。
@@ -172,7 +172,7 @@ void bootmagic_lite(void) {
172 wait_ms(DEBOUNCE * 2); 172 wait_ms(DEBOUNCE * 2);
173 matrix_scan(); 173 matrix_scan();
174 174
175 if (matrix_get_row(BOOTMAGIC_LITE_ROW) & (1 << BOOTMAGIC_LITE_COLUMN)) { 175 if (matrix_get_row(BOOTMAGIC_ROW) & (1 << BOOTMAGIC_COLUMN)) {
176 // ブートローダにジャンプする。 176 // ブートローダにジャンプする。
177 bootloader_jump(); 177 bootloader_jump();
178 } 178 }
diff --git a/keyboards/crkbd/post_config.h b/keyboards/crkbd/post_config.h
index 133014b02a..aaf405a5bf 100644
--- a/keyboards/crkbd/post_config.h
+++ b/keyboards/crkbd/post_config.h
@@ -16,18 +16,18 @@
16 16
17#pragma once 17#pragma once
18 18
19#ifndef BOOTMAGIC_LITE_ROW 19#ifndef BOOTMAGIC_ROW
20# define BOOTMAGIC_LITE_ROW 0 20# define BOOTMAGIC_ROW 0
21#endif 21#endif
22#ifndef BOOTMAGIC_LITE_COLUMN 22#ifndef BOOTMAGIC_COLUMN
23# define BOOTMAGIC_LITE_COLUMN 1 23# define BOOTMAGIC_COLUMN 1
24#endif 24#endif
25 25
26#ifndef BOOTMAGIC_LITE_ROW_RIGHT 26#ifndef BOOTMAGIC_ROW_RIGHT
27# define BOOTMAGIC_LITE_ROW_RIGHT 4 27# define BOOTMAGIC_ROW_RIGHT 4
28#endif 28#endif
29#ifndef BOOTMAGIC_LITE_COLUMN_RIGHT 29#ifndef BOOTMAGIC_COLUMN_RIGHT
30# define BOOTMAGIC_LITE_COLUMN_RIGHT 1 30# define BOOTMAGIC_COLUMN_RIGHT 1
31#endif 31#endif
32 32
33#ifdef RGBLIGHT_ENABLE 33#ifdef RGBLIGHT_ENABLE
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c b/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
index 10986fd25f..a0c3ee0f4e 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/f411.c
@@ -24,7 +24,7 @@ void matrix_scan_sub_kb(void) {
24 } 24 }
25} 25}
26 26
27__attribute__((weak)) void bootmagic_lite(void) { 27__attribute__((weak)) void bootmagic_scan(void) {
28 // We need multiple scans because debouncing can't be turned off. 28 // We need multiple scans because debouncing can't be turned off.
29 matrix_scan(); 29 matrix_scan();
30#if defined(DEBOUNCE) && DEBOUNCE > 0 30#if defined(DEBOUNCE) && DEBOUNCE > 0
@@ -34,13 +34,13 @@ __attribute__((weak)) void bootmagic_lite(void) {
34#endif 34#endif
35 matrix_scan(); 35 matrix_scan();
36 36
37 uint8_t row = BOOTMAGIC_LITE_ROW; 37 uint8_t row = BOOTMAGIC_ROW;
38 uint8_t col = BOOTMAGIC_LITE_COLUMN; 38 uint8_t col = BOOTMAGIC_COLUMN;
39 39
40#if defined(SPLIT_KEYBOARD) && defined(BOOTMAGIC_LITE_ROW_RIGHT) && defined(BOOTMAGIC_LITE_COLUMN_RIGHT) 40#if defined(SPLIT_KEYBOARD) && defined(BOOTMAGIC_ROW_RIGHT) && defined(BOOTMAGIC_COLUMN_RIGHT)
41 if (!is_keyboard_left()) { 41 if (!is_keyboard_left()) {
42 row = BOOTMAGIC_LITE_ROW_RIGHT; 42 row = BOOTMAGIC_ROW_RIGHT;
43 col = BOOTMAGIC_LITE_COLUMN_RIGHT; 43 col = BOOTMAGIC_COLUMN_RIGHT;
44 } 44 }
45#endif 45#endif
46 46
diff --git a/keyboards/jorne/post_config.h b/keyboards/jorne/post_config.h
index 4a4c71517a..7d159c0de2 100644
--- a/keyboards/jorne/post_config.h
+++ b/keyboards/jorne/post_config.h
@@ -2,18 +2,18 @@
2// SPDX-License-Identifier: GPL-2.0-or-later 2// SPDX-License-Identifier: GPL-2.0-or-later
3#pragma once 3#pragma once
4 4
5#ifndef BOOTMAGIC_LITE_ROW 5#ifndef BOOTMAGIC_ROW
6# define BOOTMAGIC_LITE_ROW 0 6# define BOOTMAGIC_ROW 0
7#endif 7#endif
8#ifndef BOOTMAGIC_LITE_COLUMN 8#ifndef BOOTMAGIC_COLUMN
9# define BOOTMAGIC_LITE_COLUMN 1 9# define BOOTMAGIC_COLUMN 1
10#endif 10#endif
11 11
12#ifndef BOOTMAGIC_LITE_ROW_RIGHT 12#ifndef BOOTMAGIC_ROW_RIGHT
13# define BOOTMAGIC_LITE_ROW_RIGHT 4 13# define BOOTMAGIC_ROW_RIGHT 4
14#endif 14#endif
15#ifndef BOOTMAGIC_LITE_COLUMN_RIGHT 15#ifndef BOOTMAGIC_COLUMN_RIGHT
16# define BOOTMAGIC_LITE_COLUMN_RIGHT 1 16# define BOOTMAGIC_COLUMN_RIGHT 1
17#endif 17#endif
18 18
19#ifdef RGBLIGHT_ENABLE 19#ifdef RGBLIGHT_ENABLE
diff --git a/keyboards/junco/rev1/post_config.h b/keyboards/junco/rev1/post_config.h
index bcc15a941a..d9fa5e4c60 100644
--- a/keyboards/junco/rev1/post_config.h
+++ b/keyboards/junco/rev1/post_config.h
@@ -7,9 +7,9 @@
7// Top left for left side is default in core 7// Top left for left side is default in core
8 8
9// Top right for right side 9// Top right for right side
10#ifndef BOOTMAGIC_LITE_ROW_RIGHT 10#ifndef BOOTMAGIC_ROW_RIGHT
11# define BOOTMAGIC_LITE_ROW_RIGHT 5 11# define BOOTMAGIC_ROW_RIGHT 5
12#endif 12#endif
13#ifndef BOOTMAGIC_LITE_COLUMN_RIGHT 13#ifndef BOOTMAGIC_COLUMN_RIGHT
14# define BOOTMAGIC_LITE_COLUMN_RIGHT 0 14# define BOOTMAGIC_COLUMN_RIGHT 0
15#endif 15#endif
diff --git a/keyboards/nullbitsco/scramble/keymaps/oled/config.h b/keyboards/nullbitsco/scramble/keymaps/oled/config.h
index cd980b0936..67a896c8af 100644
--- a/keyboards/nullbitsco/scramble/keymaps/oled/config.h
+++ b/keyboards/nullbitsco/scramble/keymaps/oled/config.h
@@ -18,5 +18,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
18#pragma once 18#pragma once
19// Alternate boot pins for accessing the bootloader, 19// Alternate boot pins for accessing the bootloader,
20// since the boot switch is blocked by the OLED. 20// since the boot switch is blocked by the OLED.
21#define BOOTMAGIC_LITE_ROW 1 21#define BOOTMAGIC_ROW 1
22#define BOOTMAGIC_LITE_COLUMN 2 22#define BOOTMAGIC_COLUMN 2
diff --git a/keyboards/phoenix/phoenix.c b/keyboards/phoenix/phoenix.c
index 706a65b4de..e870f987f4 100644
--- a/keyboards/phoenix/phoenix.c
+++ b/keyboards/phoenix/phoenix.c
@@ -2,7 +2,7 @@
2#include "usb_main.h" 2#include "usb_main.h"
3#include "phoenix.h" 3#include "phoenix.h"
4 4
5void bootmagic_lite(void) { 5void bootmagic_scan(void) {
6 matrix_scan(); 6 matrix_scan();
7 wait_ms(5); 7 wait_ms(5);
8 matrix_scan(); 8 matrix_scan();
diff --git a/quantum/bootmagic/bootmagic.c b/quantum/bootmagic/bootmagic.c
index efce6bfd12..419ec5229e 100644
--- a/quantum/bootmagic/bootmagic.c
+++ b/quantum/bootmagic/bootmagic.c
@@ -20,44 +20,54 @@
20#include "eeconfig.h" 20#include "eeconfig.h"
21#include "bootloader.h" 21#include "bootloader.h"
22 22
23#ifndef BOOTMAGIC_DEBOUNCE
24# if defined(DEBOUNCE) && DEBOUNCE > 0
25# define BOOTMAGIC_DEBOUNCE (DEBOUNCE * 2)
26# else
27# define BOOTMAGIC_DEBOUNCE 30
28# endif
29#endif
30
23/** \brief Reset eeprom 31/** \brief Reset eeprom
24 * 32 *
25 * ...just incase someone wants to only change the eeprom behaviour 33 * ...just incase someone wants to only change the eeprom behaviour
26 */ 34 */
27__attribute__((weak)) void bootmagic_lite_reset_eeprom(void) { 35__attribute__((weak)) void bootmagic_reset_eeprom(void) {
28 eeconfig_disable(); 36 eeconfig_disable();
29} 37}
30 38
31/** \brief The lite version of TMK's bootmagic based on Wilba. 39/** \brief Decide reboot based on current matrix state
32 *
33 * 100% less potential for accidentally making the keyboard do stupid things.
34 */ 40 */
35__attribute__((weak)) void bootmagic_lite(void) { 41__attribute__((weak)) bool bootmagic_should_reset(void) {
36 // We need multiple scans because debouncing can't be turned off.
37 matrix_scan();
38#if defined(DEBOUNCE) && DEBOUNCE > 0
39 wait_ms(DEBOUNCE * 2);
40#else
41 wait_ms(30);
42#endif
43 matrix_scan();
44
45 // If the configured key (commonly Esc) is held down on power up, 42 // If the configured key (commonly Esc) is held down on power up,
46 // reset the EEPROM valid state and jump to bootloader. 43 // reset the EEPROM valid state and jump to bootloader.
47 // This isn't very generalized, but we need something that doesn't 44 // This isn't very generalized, but we need something that doesn't
48 // rely on user's keymaps in firmware or EEPROM. 45 // rely on user's keymaps in firmware or EEPROM.
49 uint8_t row = BOOTMAGIC_LITE_ROW; 46 uint8_t row = BOOTMAGIC_ROW;
50 uint8_t col = BOOTMAGIC_LITE_COLUMN; 47 uint8_t col = BOOTMAGIC_COLUMN;
51 48
52#if defined(SPLIT_KEYBOARD) && defined(BOOTMAGIC_LITE_ROW_RIGHT) && defined(BOOTMAGIC_LITE_COLUMN_RIGHT) 49#if defined(SPLIT_KEYBOARD) && defined(BOOTMAGIC_ROW_RIGHT) && defined(BOOTMAGIC_COLUMN_RIGHT)
53 if (!is_keyboard_left()) { 50 if (!is_keyboard_left()) {
54 row = BOOTMAGIC_LITE_ROW_RIGHT; 51 row = BOOTMAGIC_ROW_RIGHT;
55 col = BOOTMAGIC_LITE_COLUMN_RIGHT; 52 col = BOOTMAGIC_COLUMN_RIGHT;
56 } 53 }
57#endif 54#endif
58 55
59 if (matrix_get_row(row) & (1 << col)) { 56 return matrix_get_row(row) & (1 << col);
60 bootmagic_lite_reset_eeprom(); 57}
58
59/** \brief The abridged version of TMK's bootmagic based on Wilba.
60 *
61 * 100% less potential for accidentally making the keyboard do stupid things.
62 */
63__attribute__((weak)) void bootmagic_scan(void) {
64 // We need multiple scans because debouncing can't be turned off.
65 matrix_scan();
66 wait_ms(BOOTMAGIC_DEBOUNCE);
67 matrix_scan();
68
69 if (bootmagic_should_reset()) {
70 bootmagic_reset_eeprom();
61 71
62 // Jump to bootloader. 72 // Jump to bootloader.
63 bootloader_jump(); 73 bootloader_jump();
@@ -65,5 +75,5 @@ __attribute__((weak)) void bootmagic_lite(void) {
65} 75}
66 76
67void bootmagic(void) { 77void bootmagic(void) {
68 bootmagic_lite(); 78 bootmagic_scan();
69} 79}
diff --git a/quantum/bootmagic/bootmagic.h b/quantum/bootmagic/bootmagic.h
index 4b5f5f7c5e..ee6fb49748 100644
--- a/quantum/bootmagic/bootmagic.h
+++ b/quantum/bootmagic/bootmagic.h
@@ -15,11 +15,26 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#ifndef BOOTMAGIC_LITE_COLUMN 18// ======== DEPRECATED DEFINES - DO NOT USE ========
19# define BOOTMAGIC_LITE_COLUMN 0 19#ifdef BOOTMAGIC_LITE_ROW
20# define BOOTMAGIC_ROW BOOTMAGIC_LITE_ROW
20#endif 21#endif
21#ifndef BOOTMAGIC_LITE_ROW 22#ifdef BOOTMAGIC_LITE_COLUMN
22# define BOOTMAGIC_LITE_ROW 0 23# define BOOTMAGIC_COLUMN BOOTMAGIC_LITE_COLUMN
24#endif
25#ifdef BOOTMAGIC_LITE_ROW_RIGHT
26# define BOOTMAGIC_ROW_RIGHT BOOTMAGIC_LITE_ROW_RIGHT
27#endif
28#ifdef BOOTMAGIC_LITE_COLUMN_RIGHT
29# define BOOTMAGIC_COLUMN_RIGHT BOOTMAGIC_LITE_COLUMN_RIGHT
30#endif
31// ========
32
33#ifndef BOOTMAGIC_COLUMN
34# define BOOTMAGIC_COLUMN 0
35#endif
36#ifndef BOOTMAGIC_ROW
37# define BOOTMAGIC_ROW 0
23#endif 38#endif
24 39
25void bootmagic(void); 40void bootmagic(void);