0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 06:39:49 +03:00

const renames + display updates

This commit is contained in:
OneOfEleven
2023-09-16 17:16:36 +01:00
parent e5c7c81276
commit 7bd011b057
17 changed files with 110 additions and 410 deletions

View File

@ -63,8 +63,7 @@ void ST7565_DrawLine(uint8_t Column, uint8_t Line, uint16_t Size, const uint8_t
void ST7565_BlitFullScreen(void)
{
uint8_t Line;
uint8_t Column;
unsigned int Line;
SPI_ToggleMasterMode(&SPI0->CR, false);
@ -72,6 +71,7 @@ void ST7565_BlitFullScreen(void)
for (Line = 0; Line < 7; Line++)
{
unsigned int Column;
ST7565_SelectColumnAndLine(4, Line + 1);
GPIO_SetBit(&GPIOB->DATA, GPIOB_PIN_ST7565_A0);
for (Column = 0; Column < 128; Column++)