diff options
| author | QMK Bot <hello@qmk.fm> | 2023-05-10 17:36:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-10 22:36:15 +0100 |
| commit | 853c8d4617efcf779ddde92ee81dadc892b88142 (patch) | |
| tree | 98e6fe0170b284a2e61fe68f92b080f90a5f6ada | |
| parent | 2ddad246ce85066d5aee798e6ea516ea8e49eea9 (diff) | |
Format code according to conventions (#20846)
| -rw-r--r-- | drivers/oled/oled_driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/oled/oled_driver.c b/drivers/oled/oled_driver.c index e50a881120..8ff6e0426c 100644 --- a/drivers/oled/oled_driver.c +++ b/drivers/oled/oled_driver.c | |||
| @@ -109,7 +109,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 109 | # define OLED_PRE_CHARGE_PERIOD 0xF1 | 109 | # define OLED_PRE_CHARGE_PERIOD 0xF1 |
| 110 | #endif | 110 | #endif |
| 111 | 111 | ||
| 112 | |||
| 113 | #define OLED_ALL_BLOCKS_MASK (((((OLED_BLOCK_TYPE)1 << (OLED_BLOCK_COUNT - 1)) - 1) << 1) | 1) | 112 | #define OLED_ALL_BLOCKS_MASK (((((OLED_BLOCK_TYPE)1 << (OLED_BLOCK_COUNT - 1)) - 1) << 1) | 1) |
| 114 | 113 | ||
| 115 | #define OLED_IC_HAS_HORIZONTAL_MODE (OLED_IC == OLED_IC_SSD1306) | 114 | #define OLED_IC_HAS_HORIZONTAL_MODE (OLED_IC == OLED_IC_SSD1306) |
| @@ -142,7 +141,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 142 | // parts of the display unusable or don't get cleared correctly | 141 | // parts of the display unusable or don't get cleared correctly |
| 143 | // and also allows for drawing & inverting | 142 | // and also allows for drawing & inverting |
| 144 | uint8_t oled_buffer[OLED_MATRIX_SIZE]; | 143 | uint8_t oled_buffer[OLED_MATRIX_SIZE]; |
| 145 | uint8_t *oled_cursor; | 144 | uint8_t * oled_cursor; |
| 146 | OLED_BLOCK_TYPE oled_dirty = 0; | 145 | OLED_BLOCK_TYPE oled_dirty = 0; |
| 147 | bool oled_initialized = false; | 146 | bool oled_initialized = false; |
| 148 | bool oled_active = false; | 147 | bool oled_active = false; |
