Tidy up use of CTPC (#19570)
This commit is contained in:
@@ -141,14 +141,14 @@ void matrix_scan_cmd_tab(void) {
|
||||
*
|
||||
* Sends 'qmk compile -kb keyboard -km keymap' command to compile firmware
|
||||
* Uses 'qmk flash' and resets keyboard, if flash_bootloader set to true
|
||||
* Sends CTPC and/or FORCE_LAYOUT parameters if built with those options
|
||||
* Sends CONVERT_TO and/or FORCE_LAYOUT parameters if built with those options
|
||||
*/
|
||||
void send_make_command(bool flash_bootloader) {
|
||||
#ifdef FORCE_LAYOUT // Add layout string if built with FORCE_LAYOUT
|
||||
SEND_STRING("FORCE_LAYOUT=" FORCE_LAYOUT " ");
|
||||
#endif
|
||||
#ifdef CONVERT_TO_PROTON_C // Add CTPC if built with CONVERT_TO_PROTON_C
|
||||
SEND_STRING("CTPC=yes ");
|
||||
#ifdef CONVERT_TO_PROTON_C // Add CONVERT_TO if built with converter
|
||||
SEND_STRING("CONVERT_TO=proton_c ");
|
||||
#endif
|
||||
SEND_STRING("qmk ");
|
||||
if (flash_bootloader) {
|
||||
|
@@ -45,7 +45,7 @@ VPATH += $(USER_PATH)/oled
|
||||
# SERIAL_DRIVER = usart
|
||||
# AUDIO_ENABLE = no
|
||||
# LTO_ENABLE = no
|
||||
# CONVERT_TO_PROTON_C = yes
|
||||
# CONVERT_TO=proton_c
|
||||
|
||||
# so the keyboard's code doesn't add stuff we don't need.
|
||||
# when we use our own oled renders.
|
||||
|
Reference in New Issue
Block a user