diff options
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/hub20/config.h | 6 | ||||
| -rw-r--r-- | keyboards/latin17rgb/config.h | 6 | ||||
| -rw-r--r-- | keyboards/latin6rgb/config.h | 6 | ||||
| -rw-r--r-- | keyboards/smallkeyboard/config.h | 6 | ||||
| -rw-r--r-- | keyboards/thevankeyboards/minivan/keymaps/josjoha/config.h | 4 |
5 files changed, 10 insertions, 18 deletions
diff --git a/keyboards/hub20/config.h b/keyboards/hub20/config.h index f8e5d6be8..fa78db3d9 100644 --- a/keyboards/hub20/config.h +++ b/keyboards/hub20/config.h | |||
| @@ -108,7 +108,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 108 | #define LOCKING_RESYNC_ENABLE | 108 | #define LOCKING_RESYNC_ENABLE |
| 109 | 109 | ||
| 110 | /* disable these deprecated features by default */ | 110 | /* disable these deprecated features by default */ |
| 111 | #ifndef LINK_TIME_OPTIMIZATION_ENABLE | 111 | #define NO_ACTION_MACRO |
| 112 | #define NO_ACTION_MACRO | 112 | #define NO_ACTION_FUNCTION |
| 113 | #define NO_ACTION_FUNCTION | ||
| 114 | #endif | ||
diff --git a/keyboards/latin17rgb/config.h b/keyboards/latin17rgb/config.h index 6a7ea8e78..1f52f9a65 100644 --- a/keyboards/latin17rgb/config.h +++ b/keyboards/latin17rgb/config.h | |||
| @@ -49,10 +49,8 @@ | |||
| 49 | #define DEBOUNCE 3 | 49 | #define DEBOUNCE 3 |
| 50 | 50 | ||
| 51 | /* disable these deprecated features by default */ | 51 | /* disable these deprecated features by default */ |
| 52 | //#ifndef LINK_TIME_OPTIMIZATION_ENABLE | 52 | //#define NO_ACTION_MACRO |
| 53 | //# define NO_ACTION_MACRO | 53 | //#define NO_ACTION_FUNCTION |
| 54 | //# define NO_ACTION_FUNCTION | ||
| 55 | //#endif | ||
| 56 | 54 | ||
| 57 | #ifdef RGB_MATRIX_ENABLE | 55 | #ifdef RGB_MATRIX_ENABLE |
| 58 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 56 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
diff --git a/keyboards/latin6rgb/config.h b/keyboards/latin6rgb/config.h index fa9abbea6..b356ded81 100644 --- a/keyboards/latin6rgb/config.h +++ b/keyboards/latin6rgb/config.h | |||
| @@ -50,10 +50,8 @@ | |||
| 50 | #define DEBOUNCE 3 | 50 | #define DEBOUNCE 3 |
| 51 | 51 | ||
| 52 | /* disable these deprecated features by default */ | 52 | /* disable these deprecated features by default */ |
| 53 | //#ifndef LINK_TIME_OPTIMIZATION_ENABLE | 53 | //#define NO_ACTION_MACRO |
| 54 | //# define NO_ACTION_MACRO | 54 | //#define NO_ACTION_FUNCTION |
| 55 | //# define NO_ACTION_FUNCTION | ||
| 56 | //#endif | ||
| 57 | 55 | ||
| 58 | #ifdef RGB_MATRIX_ENABLE | 56 | #ifdef RGB_MATRIX_ENABLE |
| 59 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 57 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
diff --git a/keyboards/smallkeyboard/config.h b/keyboards/smallkeyboard/config.h index 24c81258c..a343d767f 100644 --- a/keyboards/smallkeyboard/config.h +++ b/keyboards/smallkeyboard/config.h | |||
| @@ -50,10 +50,8 @@ | |||
| 50 | #define DEBOUNCE 3 | 50 | #define DEBOUNCE 3 |
| 51 | 51 | ||
| 52 | /* disable these deprecated features by default */ | 52 | /* disable these deprecated features by default */ |
| 53 | //#ifndef LINK_TIME_OPTIMIZATION_ENABLE | 53 | //#define NO_ACTION_MACRO |
| 54 | //# define NO_ACTION_MACRO | 54 | //#define NO_ACTION_FUNCTION |
| 55 | //# define NO_ACTION_FUNCTION | ||
| 56 | //#endif | ||
| 57 | 55 | ||
| 58 | #ifdef RGB_MATRIX_ENABLE | 56 | #ifdef RGB_MATRIX_ENABLE |
| 59 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | 57 | # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects |
diff --git a/keyboards/thevankeyboards/minivan/keymaps/josjoha/config.h b/keyboards/thevankeyboards/minivan/keymaps/josjoha/config.h index 809842278..9db4d596d 100644 --- a/keyboards/thevankeyboards/minivan/keymaps/josjoha/config.h +++ b/keyboards/thevankeyboards/minivan/keymaps/josjoha/config.h | |||
| @@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | // place overrides here | 24 | // place overrides here |
| 25 | 25 | ||
| 26 | // Some defines meant to decrease the firmware size. The firmware is otherwise over the maximum (atmega32u4) | 26 | // Some defines meant to decrease the firmware size. The firmware is otherwise over the maximum (atmega32u4) |
| 27 | //# ifndef LINK_TIME_OPTIMIZATION_ENABLE | 27 | //# ifndef LTO_ENABLE |
| 28 | //Disable old style macro handling: MACRO() & action_get_macro | 28 | //Disable old style macro handling: MACRO() & action_get_macro |
| 29 | //# define NO_ACTION_MACRO // This saves 320 bytes | 29 | //# define NO_ACTION_MACRO // This saves 320 bytes |
| 30 | //disable calling of action_function() from the fn_actions array (deprecated) | 30 | //disable calling of action_function() from the fn_actions array (deprecated) |
| @@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | 40 | ||
| 41 | 41 | ||
| 42 | // Attempts to reduce firmware size: | 42 | // Attempts to reduce firmware size: |
| 43 | //#define LINK_TIME_OPTIMIZATION_ENABLE // Did not decrease firmware size when tested on 26 Jan 2020 | 43 | //#define LTO_ENABLE // Did not decrease firmware size when tested on 26 Jan 2020 |
| 44 | //#define NO_DEBUG //disable debugging (already defined) | 44 | //#define NO_DEBUG //disable debugging (already defined) |
| 45 | //#define NO_PRINT JJdisable printing/debugging using hid_listen (already defined) | 45 | //#define NO_PRINT JJdisable printing/debugging using hid_listen (already defined) |
| 46 | //#define NO_ACTION_LAYER //disable layers (obviously need layers) | 46 | //#define NO_ACTION_LAYER //disable layers (obviously need layers) |
