summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-03-25 23:44:37 +1100
committerGitHub <noreply@github.com>2021-03-25 23:44:37 +1100
commit67252c246c0298ad253d04281e19add65e34d72b (patch)
treea2cad425c1c909a7b60c2b16db1f9d164aa92f46
parentb05565f368cf0a2901913bd1b279625d6d3866ca (diff)
Format code according to conventions (#12381)
Co-authored-by: QMK Bot <hello@qmk.fm>
-rw-r--r--drivers/oled/oled_driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/oled/oled_driver.c b/drivers/oled/oled_driver.c
index a60f2de6d1..6c1238cd6f 100644
--- a/drivers/oled/oled_driver.c
+++ b/drivers/oled/oled_driver.c
@@ -155,7 +155,9 @@ static void InvertCharacter(uint8_t *cursor) {
bool oled_init(uint8_t rotation) {
#if defined(USE_I2C) && defined(SPLIT_KEYBOARD)
- if (!is_keyboard_master()) { return true; }
+ if (!is_keyboard_master()) {
+ return true;
+ }
#endif
oled_rotation = oled_init_user(rotation);