mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
Format code according to conventions (#20846)
This commit is contained in:
parent
2ddad246ce
commit
853c8d4617
@ -109,7 +109,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
# define OLED_PRE_CHARGE_PERIOD 0xF1
|
# define OLED_PRE_CHARGE_PERIOD 0xF1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define OLED_ALL_BLOCKS_MASK (((((OLED_BLOCK_TYPE)1 << (OLED_BLOCK_COUNT - 1)) - 1) << 1) | 1)
|
#define OLED_ALL_BLOCKS_MASK (((((OLED_BLOCK_TYPE)1 << (OLED_BLOCK_COUNT - 1)) - 1) << 1) | 1)
|
||||||
|
|
||||||
#define OLED_IC_HAS_HORIZONTAL_MODE (OLED_IC == OLED_IC_SSD1306)
|
#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/>.
|
|||||||
// parts of the display unusable or don't get cleared correctly
|
// parts of the display unusable or don't get cleared correctly
|
||||||
// and also allows for drawing & inverting
|
// and also allows for drawing & inverting
|
||||||
uint8_t oled_buffer[OLED_MATRIX_SIZE];
|
uint8_t oled_buffer[OLED_MATRIX_SIZE];
|
||||||
uint8_t *oled_cursor;
|
uint8_t * oled_cursor;
|
||||||
OLED_BLOCK_TYPE oled_dirty = 0;
|
OLED_BLOCK_TYPE oled_dirty = 0;
|
||||||
bool oled_initialized = false;
|
bool oled_initialized = false;
|
||||||
bool oled_active = false;
|
bool oled_active = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user