💡 Misc. cleanup, comments

This commit is contained in:
Scott Lahteine
2022-01-12 09:47:22 -06:00
committed by Scott Lahteine
parent f8e177a43e
commit 2ee4a667e1
11 changed files with 29 additions and 32 deletions

View File

@@ -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;

View File

@@ -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;