fix build issues on GCC 12

This commit is contained in:
graham sanderson
2023-02-06 16:18:12 -06:00
parent 86496336c1
commit 9600dec1f0
2 changed files with 4 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ void calc_render_area_buflen(struct render_area *area) {
#ifdef i2c_default
inline void SSD1306_send_cmd(uint8_t cmd) {
void SSD1306_send_cmd(uint8_t cmd) {
// I2C write process expects a control byte followed by data
// this "data" can be a command or data to follow up a command
// Co = 1, D/C = 0 => the driver expects a command