diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-07-01 08:22:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-01 08:22:21 -0700 |
| commit | 0bde920817ef458f2ad61a66ce76a2535bbc261b (patch) | |
| tree | 9c7078bd67547fc44085cec1fbfbc82a47047161 /quantum/dip_switch.h | |
| parent | 8f78be076debfc073741f1bc1ba424f1271191d9 (diff) | |
| download | qmk_firmware-0bde920817ef458f2ad61a66ce76a2535bbc261b.tar.gz qmk_firmware-0bde920817ef458f2ad61a66ce76a2535bbc261b.zip | |
Convert Dip Switch callbacks to boolean functions (#13399)
Diffstat (limited to 'quantum/dip_switch.h')
| -rw-r--r-- | quantum/dip_switch.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/dip_switch.h b/quantum/dip_switch.h index 61ef1cc19..058a10f41 100644 --- a/quantum/dip_switch.h +++ b/quantum/dip_switch.h | |||
| @@ -20,10 +20,10 @@ | |||
| 20 | 20 | ||
| 21 | #include "quantum.h" | 21 | #include "quantum.h" |
| 22 | 22 | ||
| 23 | void dip_switch_update_kb(uint8_t index, bool active); | 23 | bool dip_switch_update_kb(uint8_t index, bool active); |
| 24 | void dip_switch_update_user(uint8_t index, bool active); | 24 | bool dip_switch_update_user(uint8_t index, bool active); |
| 25 | void dip_switch_update_mask_user(uint32_t state); | 25 | bool dip_switch_update_mask_user(uint32_t state); |
| 26 | void dip_switch_update_mask_kb(uint32_t state); | 26 | bool dip_switch_update_mask_kb(uint32_t state); |
| 27 | 27 | ||
| 28 | void dip_switch_init(void); | 28 | void dip_switch_init(void); |
| 29 | void dip_switch_read(bool forced); | 29 | void dip_switch_read(bool forced); |
