diff --git a/main.c b/main.c --- a/main.c +++ b/main.c @@ -49,7 +49,7 @@ int main(void) spi_init(); // Init OLED over SPI - ssd1306_Init(); + ssd1306_init(); ssd1306_clearscreen(); // Default settings @@ -76,8 +76,8 @@ int main(void) status.state = STATE_PREHEAT_BREW; // Startup screen - ssd1306_DrawString("therm v0.2", 1, 40); - ssd1306_DrawString("protofusion.org/therm", 3, 0); + ssd1306_drawstring("therm v0.2", 1, 40); + ssd1306_drawstring("protofusion.org/therm", 3, 0); HAL_Delay(1000); @@ -145,7 +145,7 @@ int main(void) { char tempstr[6]; itoa(ssr_output, tempstr, 10); - ssd1306_DrawString(tempstr, 0, 90); + ssd1306_drawstring(tempstr, 0, 90); HAL_GPIO_WritePin(SSR_PIN, 1); HAL_GPIO_WritePin(LED_POWER, 1);