🎨 Strip trailing whitespace

This commit is contained in:
Scott Lahteine 2021-07-09 22:24:43 -05:00
parent 3ab6789807
commit 42eb2347d4
8 changed files with 9 additions and 9 deletions

View file

@ -2414,7 +2414,7 @@
//
// MKS MINI12864 V3 is an alias for FYSETC_MINI_12864_2_1. Type A/B. NeoPixel RGB Backlight.
//
//
//#define MKS_MINI_12864_V3
//

View file

@ -370,7 +370,7 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
if (mark_as_selected(row, style & SS_INVERT)) {
pixel_len_t n = LCD_PIXEL_WIDTH; // pixel width of string allowed
const int plen = pstr ? calculateWidth(pstr) : 0,
vlen = vstr ? utf8_strlen(vstr) : 0;
if (style & SS_CENTER) {

View file

@ -31,7 +31,7 @@ if __name__ == "__main__":
args = parser.parse_args()
varname = os.path.splitext(os.path.basename(args.input))[0];
with open(args.input, "rb") as in_file:
data = in_file.read()
if args.deflate:

View file

@ -29,13 +29,13 @@ class WriteSource:
self.mode = mode
self.offset = 8
self.byte = 0
def finish_byte(self):
if self.offset != 8:
self.values.append(self.byte)
self.offset = 8
self.byte = 0
def add_bits_to_byte(self, value, size = 1):
self.offset -= size
self.byte = self.byte | value << self.offset

View file

@ -736,7 +736,7 @@ namespace Language_hu {
PROGMEM Language_Str MSG_CALIBRATION_FAILED = _UxGT("Kalibrálási hiba");
PROGMEM Language_Str MSG_DRIVER_BACKWARD = _UxGT(" meghajtók hátra");
PROGMEM Language_Str MSG_SD_CARD = _UxGT("SD Kártya");
PROGMEM Language_Str MSG_USB_DISK = _UxGT("USB Lemez");
}

View file

@ -86,7 +86,7 @@ int calculateWidth(PGM_P const pstr) {
const uint8_t prop = 2;
uint8_t *p = (uint8_t*)pstr;
int n = 0;
do {
wchar_t ch;
p = get_utf8_value_cb(p, read_byte_rom, &ch);

View file

@ -332,7 +332,7 @@
#ifndef BEEPER_PIN
#define BEEPER_PIN -1
#endif
#elif ENABLED(MKS_MINI_12864_V3)
#define DOGLCD_CS PD13
#define DOGLCD_A0 PC6

View file

@ -346,7 +346,7 @@
// Required for MKS_MINI_12864 with this board
//#define MKS_LCD12864B
//#undef SHOW_BOOTSCREEN
#elif ENABLED(MKS_MINI_12864_V3)
#define DOGLCD_CS PD13
#define DOGLCD_A0 PC6