💡 Misc. cleanup, comments
This commit is contained in:
committed by
Scott Lahteine
parent
f8e177a43e
commit
2ee4a667e1
@@ -45,7 +45,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
int lcd_glyph_height(void) { return 1; }
|
||||
int lcd_glyph_height() { return 1; }
|
||||
|
||||
typedef struct _TFTGLCD_charmap_t {
|
||||
wchar_t uchar; // the unicode char
|
||||
@@ -1119,7 +1119,7 @@ int lcd_put_u8str_max_P(PGM_P utf8_pstr, pixel_len_t max_length) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int test_TFTGLCD_charmap_all(void) {
|
||||
int test_TFTGLCD_charmap_all() {
|
||||
int flg_error = 0;
|
||||
if (test_TFTGLCD_charmap(g_TFTGLCD_charmap_device, COUNT(g_TFTGLCD_charmap_device), "g_TFTGLCD_charmap_device", 0) < 0) {
|
||||
flg_error = 1;
|
||||
|
@@ -265,7 +265,7 @@ void TFTGLCD::setContrast(uint16_t contrast) {
|
||||
extern volatile int8_t encoderDiff;
|
||||
|
||||
// Read buttons and encoder states
|
||||
uint8_t MarlinUI::read_slow_buttons(void) {
|
||||
uint8_t MarlinUI::read_slow_buttons() {
|
||||
if (!PanelDetected) return 0;
|
||||
#if ENABLED(TFTGLCD_PANEL_SPI)
|
||||
uint8_t b = 0;
|
||||
|
Reference in New Issue
Block a user