Convert Dip Switch callbacks to boolean functions (#13399)

This commit is contained in:
Drashna Jaelre authored and GitHub committed 2021-07-01 08:22:21 -07:00
1 parent 8f78be076d
commit 0bde920817
40 files changed
+117 -75

No files matched your search

+4 -4
View File
@@ -20,10 +20,10 @@
#include "quantum.h"
void dip_switch_update_kb(uint8_t index, bool active);
void dip_switch_update_user(uint8_t index, bool active);
void dip_switch_update_mask_user(uint32_t state);
void dip_switch_update_mask_kb(uint32_t state);
bool dip_switch_update_kb(uint8_t index, bool active);
bool dip_switch_update_user(uint8_t index, bool active);
bool dip_switch_update_mask_user(uint32_t state);
bool dip_switch_update_mask_kb(uint32_t state);
void dip_switch_init(void);
void dip_switch_read(bool forced);