format code according to conventions [skip ci]
This commit is contained in:
@ -108,11 +108,11 @@ static uint8_t micro_oled_screen_buffer[LCDWIDTH * LCDHEIGHT / 8] = {0};
|
||||
void micro_oled_init(void) {
|
||||
i2c_init();
|
||||
|
||||
#ifdef __AVR__
|
||||
#ifdef __AVR__
|
||||
i2c_start(I2C_ADDRESS_SA0_1, 100);
|
||||
#else
|
||||
#else
|
||||
i2c_start(I2C_ADDRESS_SA0_1);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Display Init sequence for 64x48 OLED module
|
||||
send_command(DISPLAYOFF); // 0xAE
|
||||
|
Reference in New Issue
Block a user