🧑💻 Address trailing spaces (#27108)
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
#define REDIRECT_PRINTF_TO_SERIAL 1
|
#define REDIRECT_PRINTF_TO_SERIAL 1
|
||||||
|
|
||||||
// F_CPU must be known at compile time, but on HC32F460 it's not.
|
// F_CPU must be known at compile time, but on HC32F460 it's not.
|
||||||
// Thus we assume HCLK to be 200MHz, as that's what is configured in
|
// Thus we assume HCLK to be 200MHz, as that's what is configured in
|
||||||
// 'core_hook_sysclock_init' in 'sysclock.cpp'.
|
// 'core_hook_sysclock_init' in 'sysclock.cpp'.
|
||||||
// If you face issues with this assumption, please double-check with the values
|
// If you face issues with this assumption, please double-check with the values
|
||||||
// printed by 'MarlinHAL::HAL_clock_frequencies_dump'.
|
// printed by 'MarlinHAL::HAL_clock_frequencies_dump'.
|
||||||
|
@@ -1315,7 +1315,7 @@
|
|||||||
*/
|
*/
|
||||||
#if LCD_IS_SERIAL_HOST && !defined(LCD_SERIAL_PORT)
|
#if LCD_IS_SERIAL_HOST && !defined(LCD_SERIAL_PORT)
|
||||||
#if MB(MKS_MONSTER8_V1, BTT_SKR_MINI_E3_V1_0, BTT_SKR_MINI_E3_V1_2, BTT_SKR_MINI_E3_V2_0, BTT_SKR_MINI_E3_V3_0, BTT_SKR_MINI_E3_V3_0_1, BTT_SKR_E3_TURBO, BTT_OCTOPUS_V1_1, BTT_SKR_V3_0, BTT_SKR_V3_0_EZ, AQUILA_V101)
|
#if MB(MKS_MONSTER8_V1, BTT_SKR_MINI_E3_V1_0, BTT_SKR_MINI_E3_V1_2, BTT_SKR_MINI_E3_V2_0, BTT_SKR_MINI_E3_V3_0, BTT_SKR_MINI_E3_V3_0_1, BTT_SKR_E3_TURBO, BTT_OCTOPUS_V1_1, BTT_SKR_V3_0, BTT_SKR_V3_0_EZ, AQUILA_V101)
|
||||||
|
|
||||||
#define LCD_SERIAL_PORT 1
|
#define LCD_SERIAL_PORT 1
|
||||||
#elif MB(CREALITY_V24S1_301, CREALITY_V24S1_301F4, CREALITY_F401RE, CREALITY_V423, CREALITY_CR4NTXXC10, MKS_ROBIN, PANOWIN_CUTLASS, KODAMA_BARDO)
|
#elif MB(CREALITY_V24S1_301, CREALITY_V24S1_301F4, CREALITY_F401RE, CREALITY_V423, CREALITY_CR4NTXXC10, MKS_ROBIN, PANOWIN_CUTLASS, KODAMA_BARDO)
|
||||||
#define LCD_SERIAL_PORT 2
|
#define LCD_SERIAL_PORT 2
|
||||||
|
@@ -446,8 +446,8 @@
|
|||||||
* | 1 2 | | 1 2 | 1 |
|
* | 1 2 | | 1 2 | 1 |
|
||||||
* | 3 4 | RX | 3 4 | TX | 2 | RX
|
* | 3 4 | RX | 3 4 | TX | 2 | RX
|
||||||
* ENT 5 6 | BEEP ENT 5 6 | BEEP | 3 | TX
|
* ENT 5 6 | BEEP ENT 5 6 | BEEP | 3 | TX
|
||||||
* B | 7 8 | A B | 7 8 | A | 4 |
|
* B | 7 8 | A B | 7 8 | A | 4 |
|
||||||
* GND | 9 10 | VCC GND | 9 10 | VCC 5 |
|
* GND | 9 10 | VCC GND | 9 10 | VCC 5 |
|
||||||
* ------ ------ ---
|
* ------ ------ ---
|
||||||
* EXP1 DWIN TFT
|
* EXP1 DWIN TFT
|
||||||
*
|
*
|
||||||
|
@@ -271,7 +271,7 @@ def process_text(txt):
|
|||||||
elif tryUndef(wDict): pass #undef ...
|
elif tryUndef(wDict): pass #undef ...
|
||||||
elif tryCond(wDict): pass #if|ifdef|ifndef|elif ...
|
elif tryCond(wDict): pass #if|ifdef|ifndef|elif ...
|
||||||
|
|
||||||
out += wDict['line'] + '\n'
|
out += wDict['line'].rstrip() + '\n'
|
||||||
|
|
||||||
return re.sub('\n\n$', '\n', re.sub(r'\n\n+', '\n\n', out))
|
return re.sub('\n\n$', '\n', re.sub(r'\n\n+', '\n\n', out))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user