Migrate satisfaction75 away from QWIIC_DRIVERS (#14747)
* stash * refactor old draw * refactor old draw - tidy * refactor old draw - tidy * refactor old draw - reorder for diffs * refactor old draw - reorder for diffs
This commit is contained in:
parent
7b753f227a
commit
22cafb9a20
6 changed files with 180 additions and 293 deletions
|
@ -14,9 +14,6 @@
|
|||
#define EEPROM_DEFAULT_OLED (VIA_EEPROM_CUSTOM_CONFIG_ADDR+2)
|
||||
#define EEPROM_CUSTOM_ENCODER (VIA_EEPROM_CUSTOM_CONFIG_ADDR+3)
|
||||
|
||||
/* screen off after this many milliseconds */
|
||||
#define ScreenOffInterval 60000 /* milliseconds */
|
||||
|
||||
typedef union {
|
||||
uint8_t raw;
|
||||
struct {
|
||||
|
@ -74,10 +71,7 @@ extern volatile uint8_t led_scrolllock;
|
|||
extern uint8_t layer;
|
||||
|
||||
// OLED Behavior
|
||||
extern uint16_t last_flush;
|
||||
extern bool queue_for_send;
|
||||
extern uint8_t oled_mode;
|
||||
extern bool oled_sleeping;
|
||||
|
||||
// Encoder Behavior
|
||||
extern uint8_t encoder_value;
|
||||
|
@ -113,11 +107,6 @@ void set_custom_encoder_config(uint8_t encoder_idx, uint8_t behavior, uint16_t n
|
|||
|
||||
void update_time_config(int8_t increment);
|
||||
|
||||
__attribute__ ((weak))
|
||||
void draw_ui(void);
|
||||
void draw_default(void);
|
||||
void draw_clock(void);
|
||||
|
||||
void backlight_init_ports(void);
|
||||
void backlight_set(uint8_t level);
|
||||
bool is_breathing(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue