Fix DOGM / TMF buttons Y position (#18245)

This commit is contained in:
Tanguy Pruvot 2020-06-09 23:53:22 +02:00 committed by GitHub
parent ca5a8ea827
commit 3eda8b5a8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -546,7 +546,7 @@ static const uint16_t ili9341_init[] = {
#define BUTTONC_X_LO (242 / 2) * (FSMC_UPSCALE)
#define BUTTONC_X_HI (BUTTONC_X_LO + (FSMC_UPSCALE) * BUTTON_SIZE_X - 1)
#define BUTTON_Y_LO (170 / 2) * (FSMC_UPSCALE)
#define BUTTON_Y_LO (184 / 2) * (FSMC_UPSCALE)
#define BUTTON_Y_HI (BUTTON_Y_LO + (FSMC_UPSCALE) * BUTTON_SIZE_Y - 1)
void drawImage(const uint8_t *data, u8g_t *u8g, u8g_dev_t *dev, uint16_t length, uint16_t height, uint16_t color) {