format code according to conventions [skip ci]
This commit is contained in:
parent
d99404388f
commit
1327208449
1 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue