aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/abacus/config.h7
-rw-r--r--keyboards/ai03/orbit_x/config.h6
-rw-r--r--keyboards/allison/config.h7
-rw-r--r--keyboards/allison_numpad/config.h7
-rw-r--r--keyboards/bat43/config.h7
-rw-r--r--keyboards/ckeys/washington/config.h7
-rw-r--r--keyboards/cospad/config.h7
-rw-r--r--keyboards/crkbd/config.h10
-rw-r--r--keyboards/daisy/config.h7
-rw-r--r--keyboards/dztech/dz60rgb/v1/config.h6
-rw-r--r--keyboards/dztech/dz60rgb/v2/config.h6
-rw-r--r--keyboards/dztech/dz60rgb_ansi/v1/config.h6
-rw-r--r--keyboards/dztech/dz60rgb_ansi/v2/config.h6
-rw-r--r--keyboards/dztech/dz60rgb_wkl/v1/config.h6
-rw-r--r--keyboards/dztech/dz60rgb_wkl/v2/config.h6
-rw-r--r--keyboards/dztech/dz65rgb/v1/config.h6
-rw-r--r--keyboards/dztech/dz65rgb/v2/config.h6
-rw-r--r--keyboards/ergodox_ez/keymaps/danielo515/config.h6
-rw-r--r--keyboards/exclusive/e7v1se/config.h7
-rw-r--r--keyboards/handwired/fc200rt_qmk/config.h9
-rw-r--r--keyboards/handwired/floorboard/config.h7
-rw-r--r--keyboards/handwired/jtallbean/split_65/config.h7
-rw-r--r--keyboards/handwired/sick68/config.h7
-rw-r--r--keyboards/handwired/videowriter/config.h6
-rw-r--r--keyboards/hineybush/physix/config.h7
-rw-r--r--keyboards/j80/config.h6
-rw-r--r--keyboards/jae/j01/config.h7
-rw-r--r--keyboards/just60/config.h6
-rw-r--r--keyboards/keebio/choconum/config.h7
-rw-r--r--keyboards/keebwerk/nano_slider/config.h7
-rw-r--r--keyboards/lattice60/config.h6
-rw-r--r--keyboards/lfkeyboards/lfk78/config.h7
-rw-r--r--keyboards/lfkeyboards/lfkpad/config.h7
-rw-r--r--keyboards/mc_76k/config.h6
-rw-r--r--keyboards/miller/gm862/config.h8
-rw-r--r--keyboards/mountainblocks/mb17/config.h11
-rw-r--r--keyboards/oddball/config.h7
-rw-r--r--keyboards/silverbullet44/config.h8
-rw-r--r--keyboards/switchplate/southpaw_fullsize/config.h6
-rw-r--r--keyboards/treadstone48/rev1/config.h7
-rw-r--r--keyboards/wallaby/config.h7
-rw-r--r--keyboards/ymdk/ymd09/config.h6
-rw-r--r--keyboards/yosino58/config.h10
-rw-r--r--keyboards/yurei/config.h7
-rw-r--r--keyboards/zinc/config.h8
45 files changed, 116 insertions, 197 deletions
diff --git a/keyboards/abacus/config.h b/keyboards/abacus/config.h
index 7fa989853..bc4120544 100644
--- a/keyboards/abacus/config.h
+++ b/keyboards/abacus/config.h
@@ -105,10 +105,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
105//#define NO_ACTION_ONESHOT 105//#define NO_ACTION_ONESHOT
106 106
107/* disable these deprecated features by default */ 107/* disable these deprecated features by default */
108#ifndef LINK_TIME_OPTIMIZATION_ENABLE 108#define NO_ACTION_MACRO
109 #define NO_ACTION_MACRO 109#define NO_ACTION_FUNCTION
110 #define NO_ACTION_FUNCTION 110
111#endif
112/* 111/*
113 * MIDI options 112 * MIDI options
114 */ 113 */
diff --git a/keyboards/ai03/orbit_x/config.h b/keyboards/ai03/orbit_x/config.h
index fb2ebe44f..c21e3e8f6 100644
--- a/keyboards/ai03/orbit_x/config.h
+++ b/keyboards/ai03/orbit_x/config.h
@@ -165,10 +165,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
165//#define NO_ACTION_ONESHOT 165//#define NO_ACTION_ONESHOT
166 166
167/* disable these deprecated features by default */ 167/* disable these deprecated features by default */
168#ifndef LINK_TIME_OPTIMIZATION_ENABLE 168#define NO_ACTION_MACRO
169 #define NO_ACTION_MACRO 169#define NO_ACTION_FUNCTION
170 #define NO_ACTION_FUNCTION
171#endif
172 170
173/* Bootmagic Lite key configuration */ 171/* Bootmagic Lite key configuration */
174// #define BOOTMAGIC_LITE_ROW 0 172// #define BOOTMAGIC_LITE_ROW 0
diff --git a/keyboards/allison/config.h b/keyboards/allison/config.h
index 8a310d0a2..e2e032442 100644
--- a/keyboards/allison/config.h
+++ b/keyboards/allison/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/allison_numpad/config.h b/keyboards/allison_numpad/config.h
index c8b818907..0e04a8722 100644
--- a/keyboards/allison_numpad/config.h
+++ b/keyboards/allison_numpad/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/bat43/config.h b/keyboards/bat43/config.h
index 57d65233c..eb1c1a05c 100644
--- a/keyboards/bat43/config.h
+++ b/keyboards/bat43/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/ckeys/washington/config.h b/keyboards/ckeys/washington/config.h
index 419e35e3b..9a9b69d32 100644
--- a/keyboards/ckeys/washington/config.h
+++ b/keyboards/ckeys/washington/config.h
@@ -193,10 +193,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
193//#define NO_ACTION_ONESHOT 193//#define NO_ACTION_ONESHOT
194 194
195/* disable these deprecated features by default */ 195/* disable these deprecated features by default */
196#ifndef LINK_TIME_OPTIMIZATION_ENABLE 196#define NO_ACTION_MACRO
197 #define NO_ACTION_MACRO 197#define NO_ACTION_FUNCTION
198 #define NO_ACTION_FUNCTION 198
199#endif
200/* 199/*
201 * MIDI options 200 * MIDI options
202 */ 201 */
diff --git a/keyboards/cospad/config.h b/keyboards/cospad/config.h
index cfc2d59f6..42db8e25b 100644
--- a/keyboards/cospad/config.h
+++ b/keyboards/cospad/config.h
@@ -193,10 +193,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
193//#define NO_ACTION_ONESHOT 193//#define NO_ACTION_ONESHOT
194 194
195/* disable these deprecated features by default */ 195/* disable these deprecated features by default */
196#ifndef LINK_TIME_OPTIMIZATION_ENABLE 196#define NO_ACTION_MACRO
197 #define NO_ACTION_MACRO 197#define NO_ACTION_FUNCTION
198 #define NO_ACTION_FUNCTION 198
199#endif
200/* 199/*
201 * MIDI options 200 * MIDI options
202 */ 201 */
diff --git a/keyboards/crkbd/config.h b/keyboards/crkbd/config.h
index 4357a218d..fb1cdf396 100644
--- a/keyboards/crkbd/config.h
+++ b/keyboards/crkbd/config.h
@@ -24,11 +24,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
24#define USE_I2C 24#define USE_I2C
25#define USE_SERIAL 25#define USE_SERIAL
26 26
27#ifdef USE_Link_Time_Optimization 27#define NO_ACTION_MACRO
28 // LTO has issues with macros (action_get_macro) and "functions" (fn_actions), 28#define NO_ACTION_FUNCTION
29 // so just disable them
30 #define NO_ACTION_MACRO
31 #define NO_ACTION_FUNCTION
32
33 #define DISABLE_LEADER
34#endif // USE_Link_Time_Optimization
diff --git a/keyboards/daisy/config.h b/keyboards/daisy/config.h
index 4ee4d242f..ea03d116b 100644
--- a/keyboards/daisy/config.h
+++ b/keyboards/daisy/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/dztech/dz60rgb/v1/config.h b/keyboards/dztech/dz60rgb/v1/config.h
index d6f462425..fb4e62245 100644
--- a/keyboards/dztech/dz60rgb/v1/config.h
+++ b/keyboards/dztech/dz60rgb/v1/config.h
@@ -33,10 +33,8 @@
33#define DEBOUNCE 3 33#define DEBOUNCE 3
34 34
35/* disable these deprecated features by default */ 35/* disable these deprecated features by default */
36#ifndef LINK_TIME_OPTIMIZATION_ENABLE 36#define NO_ACTION_MACRO
37# define NO_ACTION_MACRO 37#define NO_ACTION_FUNCTION
38# define NO_ACTION_FUNCTION
39#endif
40 38
41#ifdef RGB_MATRIX_ENABLE 39#ifdef RGB_MATRIX_ENABLE
42# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects 40# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
diff --git a/keyboards/dztech/dz60rgb/v2/config.h b/keyboards/dztech/dz60rgb/v2/config.h
index b344e34b3..6c5484fc8 100644
--- a/keyboards/dztech/dz60rgb/v2/config.h
+++ b/keyboards/dztech/dz60rgb/v2/config.h
@@ -33,10 +33,8 @@
33#define DEBOUNCE 3 33#define DEBOUNCE 3
34 34
35/* disable these deprecated features by default */ 35/* disable these deprecated features by default */
36#ifndef LINK_TIME_OPTIMIZATION_ENABLE 36#define NO_ACTION_MACRO
37# define NO_ACTION_MACRO 37#define NO_ACTION_FUNCTION
38# define NO_ACTION_FUNCTION
39#endif
40 38
41#ifdef RGB_MATRIX_ENABLE 39#ifdef RGB_MATRIX_ENABLE
42# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects 40# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
diff --git a/keyboards/dztech/dz60rgb_ansi/v1/config.h b/keyboards/dztech/dz60rgb_ansi/v1/config.h
index fb76ee7df..f34226efc 100644
--- a/keyboards/dztech/dz60rgb_ansi/v1/config.h
+++ b/keyboards/dztech/dz60rgb_ansi/v1/config.h
@@ -33,10 +33,8 @@
33#define DEBOUNCE 3 33#define DEBOUNCE 3
34 34
35/* disable these deprecated features by default */ 35/* disable these deprecated features by default */
36#ifndef LINK_TIME_OPTIMIZATION_ENABLE 36#define NO_ACTION_MACRO
37# define NO_ACTION_MACRO 37#define NO_ACTION_FUNCTION
38# define NO_ACTION_FUNCTION
39#endif
40 38
41#ifdef RGB_MATRIX_ENABLE 39#ifdef RGB_MATRIX_ENABLE
42# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects 40# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
diff --git a/keyboards/dztech/dz60rgb_ansi/v2/config.h b/keyboards/dztech/dz60rgb_ansi/v2/config.h
index 3bd287b5f..b9710805a 100644
--- a/keyboards/dztech/dz60rgb_ansi/v2/config.h
+++ b/keyboards/dztech/dz60rgb_ansi/v2/config.h
@@ -33,10 +33,8 @@
33#define DEBOUNCE 3 33#define DEBOUNCE 3
34 34
35/* disable these deprecated features by default */ 35/* disable these deprecated features by default */
36#ifndef LINK_TIME_OPTIMIZATION_ENABLE 36#define NO_ACTION_MACRO
37# define NO_ACTION_MACRO 37#define NO_ACTION_FUNCTION
38# define NO_ACTION_FUNCTION
39#endif
40 38
41#ifdef RGB_MATRIX_ENABLE 39#ifdef RGB_MATRIX_ENABLE
42# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects 40# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
diff --git a/keyboards/dztech/dz60rgb_wkl/v1/config.h b/keyboards/dztech/dz60rgb_wkl/v1/config.h
index b5d267640..49ce11236 100644
--- a/keyboards/dztech/dz60rgb_wkl/v1/config.h
+++ b/keyboards/dztech/dz60rgb_wkl/v1/config.h
@@ -33,10 +33,8 @@
33#define DEBOUNCE 3 33#define DEBOUNCE 3
34 34
35/* disable these deprecated features by default */ 35/* disable these deprecated features by default */
36#ifndef LINK_TIME_OPTIMIZATION_ENABLE 36#define NO_ACTION_MACRO
37# define NO_ACTION_MACRO 37#define NO_ACTION_FUNCTION
38# define NO_ACTION_FUNCTION
39#endif
40 38
41#ifdef RGB_MATRIX_ENABLE 39#ifdef RGB_MATRIX_ENABLE
42# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects 40# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
diff --git a/keyboards/dztech/dz60rgb_wkl/v2/config.h b/keyboards/dztech/dz60rgb_wkl/v2/config.h
index 4ae9b9395..e46495d73 100644
--- a/keyboards/dztech/dz60rgb_wkl/v2/config.h
+++ b/keyboards/dztech/dz60rgb_wkl/v2/config.h
@@ -33,10 +33,8 @@
33#define DEBOUNCE 3 33#define DEBOUNCE 3
34 34
35/* disable these deprecated features by default */ 35/* disable these deprecated features by default */
36#ifndef LINK_TIME_OPTIMIZATION_ENABLE 36#define NO_ACTION_MACRO
37# define NO_ACTION_MACRO 37#define NO_ACTION_FUNCTION
38# define NO_ACTION_FUNCTION
39#endif
40 38
41#ifdef RGB_MATRIX_ENABLE 39#ifdef RGB_MATRIX_ENABLE
42# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects 40# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
diff --git a/keyboards/dztech/dz65rgb/v1/config.h b/keyboards/dztech/dz65rgb/v1/config.h
index bf700a238..9cd7d293c 100644
--- a/keyboards/dztech/dz65rgb/v1/config.h
+++ b/keyboards/dztech/dz65rgb/v1/config.h
@@ -29,10 +29,8 @@
29#define DIODE_DIRECTION COL2ROW 29#define DIODE_DIRECTION COL2ROW
30 30
31/* disable these deprecated features by default */ 31/* disable these deprecated features by default */
32#ifndef LINK_TIME_OPTIMIZATION_ENABLE 32#define NO_ACTION_MACRO
33# define NO_ACTION_MACRO 33#define NO_ACTION_FUNCTION
34# define NO_ACTION_FUNCTION
35#endif
36 34
37#ifdef RGB_MATRIX_ENABLE 35#ifdef RGB_MATRIX_ENABLE
38# define RGB_MATRIX_LED_PROCESS_LIMIT 4 36# define RGB_MATRIX_LED_PROCESS_LIMIT 4
diff --git a/keyboards/dztech/dz65rgb/v2/config.h b/keyboards/dztech/dz65rgb/v2/config.h
index 6a55f8766..83cf0110a 100644
--- a/keyboards/dztech/dz65rgb/v2/config.h
+++ b/keyboards/dztech/dz65rgb/v2/config.h
@@ -29,10 +29,8 @@
29#define DIODE_DIRECTION COL2ROW 29#define DIODE_DIRECTION COL2ROW
30 30
31/* disable these deprecated features by default */ 31/* disable these deprecated features by default */
32#ifndef LINK_TIME_OPTIMIZATION_ENABLE 32#define NO_ACTION_MACRO
33# define NO_ACTION_MACRO 33#define NO_ACTION_FUNCTION
34# define NO_ACTION_FUNCTION
35#endif
36 34
37#ifdef RGB_MATRIX_ENABLE 35#ifdef RGB_MATRIX_ENABLE
38# define RGB_MATRIX_LED_PROCESS_LIMIT 4 36# define RGB_MATRIX_LED_PROCESS_LIMIT 4
diff --git a/keyboards/ergodox_ez/keymaps/danielo515/config.h b/keyboards/ergodox_ez/keymaps/danielo515/config.h
index 8982e7653..ff201caa9 100644
--- a/keyboards/ergodox_ez/keymaps/danielo515/config.h
+++ b/keyboards/ergodox_ez/keymaps/danielo515/config.h
@@ -25,9 +25,7 @@
25# define NO_PRINT 25# define NO_PRINT
26#endif 26#endif
27 27
28#ifndef LINK_TIME_OPTIMIZATION_ENABLE 28#define NO_ACTION_MACRO
29# define NO_ACTION_MACRO 29#define NO_ACTION_FUNCTION
30# define NO_ACTION_FUNCTION
31#endif
32 30
33#undef RGBLIGHT_ANIMATIONS 31#undef RGBLIGHT_ANIMATIONS
diff --git a/keyboards/exclusive/e7v1se/config.h b/keyboards/exclusive/e7v1se/config.h
index f11a70092..8784828ed 100644
--- a/keyboards/exclusive/e7v1se/config.h
+++ b/keyboards/exclusive/e7v1se/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/handwired/fc200rt_qmk/config.h b/keyboards/handwired/fc200rt_qmk/config.h
index fa070494a..12c40360b 100644
--- a/keyboards/handwired/fc200rt_qmk/config.h
+++ b/keyboards/handwired/fc200rt_qmk/config.h
@@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
31#define MATRIX_ROWS 8 31#define MATRIX_ROWS 8
32#define MATRIX_COLS 16 32#define MATRIX_COLS 16
33 33
34
35#define MATRIX_ROW_PINS { B0, B1, B2, B3, E6, B7, D0, D1 } 34#define MATRIX_ROW_PINS { B0, B1, B2, B3, E6, B7, D0, D1 }
36#define MATRIX_COL_PINS { D2, D3, C6, C7, D5, D4, D6, D7, B4, B5, B6, F7, F6, F5, F4, F1 } 35#define MATRIX_COL_PINS { D2, D3, C6, C7, D5, D4, D6, D7, B4, B5, B6, F7, F6, F5, F4, F1 }
37#define UNUSED_PINS 36#define UNUSED_PINS
@@ -39,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
39/* COL2ROW, ROW2COL*/ 38/* COL2ROW, ROW2COL*/
40#define DIODE_DIRECTION ROW2COL 39#define DIODE_DIRECTION ROW2COL
41 40
42
43/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 41/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
44#define DEBOUNCE 5 42#define DEBOUNCE 5
45 43
@@ -130,7 +128,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
130//#define MAGIC_KEY_NKRO N 128//#define MAGIC_KEY_NKRO N
131//#define MAGIC_KEY_SLEEP_LED Z 129//#define MAGIC_KEY_SLEEP_LED Z
132 130
133#ifndef LINK_TIME_OPTIMIZATION_ENABLE 131/* disable these deprecated features by default */
134 #define NO_ACTION_MACRO 132#define NO_ACTION_MACRO
135 #define NO_ACTION_FUNCTION 133#define NO_ACTION_FUNCTION
136#endif
diff --git a/keyboards/handwired/floorboard/config.h b/keyboards/handwired/floorboard/config.h
index 6f2e9d0c0..bf8646f39 100644
--- a/keyboards/handwired/floorboard/config.h
+++ b/keyboards/handwired/floorboard/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/handwired/jtallbean/split_65/config.h b/keyboards/handwired/jtallbean/split_65/config.h
index a2c8d22bf..5c7a9d54b 100644
--- a/keyboards/handwired/jtallbean/split_65/config.h
+++ b/keyboards/handwired/jtallbean/split_65/config.h
@@ -195,10 +195,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
195//#define NO_ACTION_ONESHOT 195//#define NO_ACTION_ONESHOT
196 196
197/* disable these deprecated features by default */ 197/* disable these deprecated features by default */
198#ifndef LINK_TIME_OPTIMIZATION_ENABLE 198#define NO_ACTION_MACRO
199 #define NO_ACTION_MACRO 199#define NO_ACTION_FUNCTION
200 #define NO_ACTION_FUNCTION 200
201#endif
202/* 201/*
203 * MIDI options 202 * MIDI options
204 */ 203 */
diff --git a/keyboards/handwired/sick68/config.h b/keyboards/handwired/sick68/config.h
index 3d7d413fa..9f050c361 100644
--- a/keyboards/handwired/sick68/config.h
+++ b/keyboards/handwired/sick68/config.h
@@ -194,10 +194,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
194//#define NO_ACTION_ONESHOT 194//#define NO_ACTION_ONESHOT
195 195
196/* disable these deprecated features by default */ 196/* disable these deprecated features by default */
197#ifndef LINK_TIME_OPTIMIZATION_ENABLE 197#define NO_ACTION_MACRO
198# define NO_ACTION_MACRO 198#define NO_ACTION_FUNCTION
199# define NO_ACTION_FUNCTION 199
200#endif
201/* 200/*
202 * MIDI options 201 * MIDI options
203 */ 202 */
diff --git a/keyboards/handwired/videowriter/config.h b/keyboards/handwired/videowriter/config.h
index d392564eb..bcf059b62 100644
--- a/keyboards/handwired/videowriter/config.h
+++ b/keyboards/handwired/videowriter/config.h
@@ -130,10 +130,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
130//#define NO_ACTION_ONESHOT 130//#define NO_ACTION_ONESHOT
131 131
132/* disable these deprecated features by default */ 132/* disable these deprecated features by default */
133#ifndef LINK_TIME_OPTIMIZATION_ENABLE 133#define NO_ACTION_MACRO
134 #define NO_ACTION_MACRO 134#define NO_ACTION_FUNCTION
135 #define NO_ACTION_FUNCTION
136#endif
137 135
138/* Bootmagic Lite key configuration */ 136/* Bootmagic Lite key configuration */
139// #define BOOTMAGIC_LITE_ROW 0 137// #define BOOTMAGIC_LITE_ROW 0
diff --git a/keyboards/hineybush/physix/config.h b/keyboards/hineybush/physix/config.h
index cc6e18532..ccdb18fd2 100644
--- a/keyboards/hineybush/physix/config.h
+++ b/keyboards/hineybush/physix/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/j80/config.h b/keyboards/j80/config.h
index a4a10bff4..c4276431c 100644
--- a/keyboards/j80/config.h
+++ b/keyboards/j80/config.h
@@ -39,10 +39,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
39#define BACKLIGHT_PIN D4 39#define BACKLIGHT_PIN D4
40 40
41/* disable these deprecated features by default */ 41/* disable these deprecated features by default */
42#ifndef LINK_TIME_OPTIMIZATION_ENABLE 42#define NO_ACTION_MACRO
43 #define NO_ACTION_MACRO 43#define NO_ACTION_FUNCTION
44 #define NO_ACTION_FUNCTION
45#endif
46 44
47/* key combination for magic key command */ 45/* key combination for magic key command */
48/* defined by default; to change, uncomment and set to the combination you want */ 46/* defined by default; to change, uncomment and set to the combination you want */
diff --git a/keyboards/jae/j01/config.h b/keyboards/jae/j01/config.h
index 8faa651aa..9c05a9876 100644
--- a/keyboards/jae/j01/config.h
+++ b/keyboards/jae/j01/config.h
@@ -165,10 +165,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
165//#define NO_ACTION_ONESHOT 165//#define NO_ACTION_ONESHOT
166 166
167/* disable these deprecated features by default */ 167/* disable these deprecated features by default */
168#ifndef LINK_TIME_OPTIMIZATION_ENABLE 168#define NO_ACTION_MACRO
169 #define NO_ACTION_MACRO 169#define NO_ACTION_FUNCTION
170 #define NO_ACTION_FUNCTION 170
171#endif
172/* 171/*
173 * MIDI options 172 * MIDI options
174 */ 173 */
diff --git a/keyboards/just60/config.h b/keyboards/just60/config.h
index ef0af7c61..66e5bf7b6 100644
--- a/keyboards/just60/config.h
+++ b/keyboards/just60/config.h
@@ -48,7 +48,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
48#define LOCKING_RESYNC_ENABLE 48#define LOCKING_RESYNC_ENABLE
49 49
50/* disable these deprecated features by default */ 50/* disable these deprecated features by default */
51#ifndef LINK_TIME_OPTIMIZATION_ENABLE 51#define NO_ACTION_MACRO
52 #define NO_ACTION_MACRO 52#define NO_ACTION_FUNCTION
53 #define NO_ACTION_FUNCTION
54#endif
diff --git a/keyboards/keebio/choconum/config.h b/keyboards/keebio/choconum/config.h
index 9eee4eca9..d3a0da168 100644
--- a/keyboards/keebio/choconum/config.h
+++ b/keyboards/keebio/choconum/config.h
@@ -147,10 +147,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
147//#define NO_ACTION_ONESHOT 147//#define NO_ACTION_ONESHOT
148 148
149/* disable these deprecated features by default */ 149/* disable these deprecated features by default */
150#ifndef LINK_TIME_OPTIMIZATION_ENABLE 150#define NO_ACTION_MACRO
151 #define NO_ACTION_MACRO 151#define NO_ACTION_FUNCTION
152 #define NO_ACTION_FUNCTION 152
153#endif
154/* 153/*
155 * MIDI options 154 * MIDI options
156 */ 155 */
diff --git a/keyboards/keebwerk/nano_slider/config.h b/keyboards/keebwerk/nano_slider/config.h
index ba079c531..3ed356b8a 100644
--- a/keyboards/keebwerk/nano_slider/config.h
+++ b/keyboards/keebwerk/nano_slider/config.h
@@ -161,10 +161,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
161//#define NO_ACTION_ONESHOT 161//#define NO_ACTION_ONESHOT
162 162
163/* disable these deprecated features by default */ 163/* disable these deprecated features by default */
164#ifndef LINK_TIME_OPTIMIZATION_ENABLE 164#define NO_ACTION_MACRO
165# define NO_ACTION_MACRO 165#define NO_ACTION_FUNCTION
166# define NO_ACTION_FUNCTION 166
167#endif
168/* 167/*
169 * MIDI options 168 * MIDI options
170 */ 169 */
diff --git a/keyboards/lattice60/config.h b/keyboards/lattice60/config.h
index e864eeebb..649219538 100644
--- a/keyboards/lattice60/config.h
+++ b/keyboards/lattice60/config.h
@@ -99,7 +99,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
99//#define NO_ACTION_ONESHOT 99//#define NO_ACTION_ONESHOT
100 100
101/* disable these deprecated features by default */ 101/* disable these deprecated features by default */
102#ifndef LINK_TIME_OPTIMIZATION_ENABLE 102#define NO_ACTION_MACRO
103 #define NO_ACTION_MACRO 103#define NO_ACTION_FUNCTION
104 #define NO_ACTION_FUNCTION
105#endif
diff --git a/keyboards/lfkeyboards/lfk78/config.h b/keyboards/lfkeyboards/lfk78/config.h
index 3478c9629..b96aca07c 100644
--- a/keyboards/lfkeyboards/lfk78/config.h
+++ b/keyboards/lfkeyboards/lfk78/config.h
@@ -158,10 +158,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
158//#define NO_ACTION_ONESHOT 158//#define NO_ACTION_ONESHOT
159 159
160/* disable these deprecated features by default */ 160/* disable these deprecated features by default */
161#ifndef LINK_TIME_OPTIMIZATION_ENABLE 161#define NO_ACTION_MACRO
162 #define NO_ACTION_MACRO 162#define NO_ACTION_FUNCTION
163 #define NO_ACTION_FUNCTION 163
164#endif
165/* 164/*
166 * MIDI options 165 * MIDI options
167 */ 166 */
diff --git a/keyboards/lfkeyboards/lfkpad/config.h b/keyboards/lfkeyboards/lfkpad/config.h
index fb48297e5..b05ee0f0c 100644
--- a/keyboards/lfkeyboards/lfkpad/config.h
+++ b/keyboards/lfkeyboards/lfkpad/config.h
@@ -175,10 +175,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
175//#define NO_ACTION_ONESHOT 175//#define NO_ACTION_ONESHOT
176 176
177/* disable these deprecated features by default */ 177/* disable these deprecated features by default */
178#ifndef LINK_TIME_OPTIMIZATION_ENABLE 178#define NO_ACTION_MACRO
179 #define NO_ACTION_MACRO 179#define NO_ACTION_FUNCTION
180 #define NO_ACTION_FUNCTION 180
181#endif
182/* 181/*
183 * MIDI options 182 * MIDI options
184 */ 183 */
diff --git a/keyboards/mc_76k/config.h b/keyboards/mc_76k/config.h
index cccd6a8e9..cd14081f4 100644
--- a/keyboards/mc_76k/config.h
+++ b/keyboards/mc_76k/config.h
@@ -98,7 +98,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
98 */ 98 */
99 99
100/* disable these deprecated features by default */ 100/* disable these deprecated features by default */
101#ifndef LINK_TIME_OPTIMIZATION_ENABLE 101#define NO_ACTION_MACRO
102 #define NO_ACTION_MACRO 102#define NO_ACTION_FUNCTION
103 #define NO_ACTION_FUNCTION
104#endif
diff --git a/keyboards/miller/gm862/config.h b/keyboards/miller/gm862/config.h
index fb44ed6c8..1a8eb265d 100644
--- a/keyboards/miller/gm862/config.h
+++ b/keyboards/miller/gm862/config.h
@@ -28,11 +28,11 @@
28#define UNUSED_PINS 28#define UNUSED_PINS
29/* COL2ROW, ROW2COL*/ 29/* COL2ROW, ROW2COL*/
30#define DIODE_DIRECTION COL2ROW 30#define DIODE_DIRECTION COL2ROW
31
31/* disable these deprecated features by default */ 32/* disable these deprecated features by default */
32#ifndef LINK_TIME_OPTIMIZATION_ENABLE 33#define NO_ACTION_MACRO
33# define NO_ACTION_MACRO 34#define NO_ACTION_FUNCTION
34# define NO_ACTION_FUNCTION 35
35#endif
36/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 36/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
37#define DEBOUNCE 3 37#define DEBOUNCE 3
38#ifdef RGB_MATRIX_ENABLE 38#ifdef RGB_MATRIX_ENABLE
diff --git a/keyboards/mountainblocks/mb17/config.h b/keyboards/mountainblocks/mb17/config.h
index 7db47ff94..f469c9bd4 100644
--- a/keyboards/mountainblocks/mb17/config.h
+++ b/keyboards/mountainblocks/mb17/config.h
@@ -147,12 +147,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
147 147
148 148
149/* disable these deprecated features by default */ 149/* disable these deprecated features by default */
150#ifndef LINK_TIME_OPTIMIZATION_ENABLE 150#define NO_ACTION_MACRO
151 #define NO_ACTION_MACRO 151#define NO_ACTION_FUNCTION
152 #define NO_ACTION_FUNCTION
153#endif
154
155
156
157
158
diff --git a/keyboards/oddball/config.h b/keyboards/oddball/config.h
index b3679bea4..99d9f75d5 100644
--- a/keyboards/oddball/config.h
+++ b/keyboards/oddball/config.h
@@ -195,10 +195,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
195//#define NO_ACTION_ONESHOT 195//#define NO_ACTION_ONESHOT
196 196
197/* disable these deprecated features by default */ 197/* disable these deprecated features by default */
198#ifndef LINK_TIME_OPTIMIZATION_ENABLE 198#define NO_ACTION_MACRO
199 #define NO_ACTION_MACRO 199#define NO_ACTION_FUNCTION
200 #define NO_ACTION_FUNCTION 200
201#endif
202/* 201/*
203 * MIDI options 202 * MIDI options
204 */ 203 */
diff --git a/keyboards/silverbullet44/config.h b/keyboards/silverbullet44/config.h
index 6872f5fb4..a7402a001 100644
--- a/keyboards/silverbullet44/config.h
+++ b/keyboards/silverbullet44/config.h
@@ -233,10 +233,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
233//#define NO_ACTION_LAYER 233//#define NO_ACTION_LAYER
234//#define NO_ACTION_TAPPING 234//#define NO_ACTION_TAPPING
235//#define NO_ACTION_ONESHOT 235//#define NO_ACTION_ONESHOT
236#ifndef LINK_TIME_OPTIMIZATION_ENABLE 236
237# define NO_ACTION_MACRO 237/* disable these deprecated features by default */
238# define NO_ACTION_FUNCTION 238#define NO_ACTION_MACRO
239#endif 239#define NO_ACTION_FUNCTION
240 240
241/* 241/*
242 * MIDI options 242 * MIDI options
diff --git a/keyboards/switchplate/southpaw_fullsize/config.h b/keyboards/switchplate/southpaw_fullsize/config.h
index adbb4f8db..2d4fb9a97 100644
--- a/keyboards/switchplate/southpaw_fullsize/config.h
+++ b/keyboards/switchplate/southpaw_fullsize/config.h
@@ -133,10 +133,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
133//#define NO_ACTION_ONESHOT 133//#define NO_ACTION_ONESHOT
134 134
135/* disable these deprecated features by default */ 135/* disable these deprecated features by default */
136#ifndef LINK_TIME_OPTIMIZATION_ENABLE 136#define NO_ACTION_MACRO
137 #define NO_ACTION_MACRO 137#define NO_ACTION_FUNCTION
138 #define NO_ACTION_FUNCTION
139#endif
140 138
141/* Bootmagic Lite key configuration */ 139/* Bootmagic Lite key configuration */
142// #define BOOTMAGIC_LITE_ROW 0 140// #define BOOTMAGIC_LITE_ROW 0
diff --git a/keyboards/treadstone48/rev1/config.h b/keyboards/treadstone48/rev1/config.h
index 56ffbaef0..3ea285836 100644
--- a/keyboards/treadstone48/rev1/config.h
+++ b/keyboards/treadstone48/rev1/config.h
@@ -198,10 +198,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
198//#define NO_ACTION_ONESHOT 198//#define NO_ACTION_ONESHOT
199 199
200/* disable these deprecated features by default */ 200/* disable these deprecated features by default */
201#ifndef LINK_TIME_OPTIMIZATION_ENABLE 201#define NO_ACTION_MACRO
202 #define NO_ACTION_MACRO 202#define NO_ACTION_FUNCTION
203 #define NO_ACTION_FUNCTION 203
204#endif
205/* 204/*
206 * MIDI options 205 * MIDI options
207 */ 206 */
diff --git a/keyboards/wallaby/config.h b/keyboards/wallaby/config.h
index 0f142f18f..11fa674a8 100644
--- a/keyboards/wallaby/config.h
+++ b/keyboards/wallaby/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/ymdk/ymd09/config.h b/keyboards/ymdk/ymd09/config.h
index b7e5539df..372046b8b 100644
--- a/keyboards/ymdk/ymd09/config.h
+++ b/keyboards/ymdk/ymd09/config.h
@@ -60,7 +60,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
60#define LOCKING_RESYNC_ENABLE 60#define LOCKING_RESYNC_ENABLE
61 61
62/* disable these deprecated features by default */ 62/* disable these deprecated features by default */
63#ifndef LINK_TIME_OPTIMIZATION_ENABLE 63#define NO_ACTION_MACRO
64 #define NO_ACTION_MACRO 64#define NO_ACTION_FUNCTION
65 #define NO_ACTION_FUNCTION
66#endif
diff --git a/keyboards/yosino58/config.h b/keyboards/yosino58/config.h
index 4357a218d..fb1cdf396 100644
--- a/keyboards/yosino58/config.h
+++ b/keyboards/yosino58/config.h
@@ -24,11 +24,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
24#define USE_I2C 24#define USE_I2C
25#define USE_SERIAL 25#define USE_SERIAL
26 26
27#ifdef USE_Link_Time_Optimization 27#define NO_ACTION_MACRO
28 // LTO has issues with macros (action_get_macro) and "functions" (fn_actions), 28#define NO_ACTION_FUNCTION
29 // so just disable them
30 #define NO_ACTION_MACRO
31 #define NO_ACTION_FUNCTION
32
33 #define DISABLE_LEADER
34#endif // USE_Link_Time_Optimization
diff --git a/keyboards/yurei/config.h b/keyboards/yurei/config.h
index da37d3ce8..24d6229bd 100644
--- a/keyboards/yurei/config.h
+++ b/keyboards/yurei/config.h
@@ -192,10 +192,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192//#define NO_ACTION_ONESHOT 192//#define NO_ACTION_ONESHOT
193 193
194/* disable these deprecated features by default */ 194/* disable these deprecated features by default */
195#ifndef LINK_TIME_OPTIMIZATION_ENABLE 195#define NO_ACTION_MACRO
196 #define NO_ACTION_MACRO 196#define NO_ACTION_FUNCTION
197 #define NO_ACTION_FUNCTION 197
198#endif
199/* 198/*
200 * MIDI options 199 * MIDI options
201 */ 200 */
diff --git a/keyboards/zinc/config.h b/keyboards/zinc/config.h
index 9c60d631b..712db0ac6 100644
--- a/keyboards/zinc/config.h
+++ b/keyboards/zinc/config.h
@@ -40,11 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
40// ./tmk_core 40// ./tmk_core
41// ...... 41// ......
42 42
43#ifdef USE_Link_Time_Optimization 43#define NO_ACTION_MACRO
44 // LTO has issues with macros (action_get_macro) and "functions" (fn_actions), 44#define NO_ACTION_FUNCTION
45 // so just disable them
46 #define NO_ACTION_MACRO
47 #define NO_ACTION_FUNCTION
48#endif // USE_Link_Time_Optimization
49 45
50//#endif /* CONFIG_H */ 46//#endif /* CONFIG_H */