aboutsummaryrefslogtreecommitdiff
path: root/quantum/dip_switch.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-07-01 08:22:21 -0700
committerGitHub <noreply@github.com>2021-07-01 08:22:21 -0700
commit0bde920817ef458f2ad61a66ce76a2535bbc261b (patch)
tree9c7078bd67547fc44085cec1fbfbc82a47047161 /quantum/dip_switch.h
parent8f78be076debfc073741f1bc1ba424f1271191d9 (diff)
downloadqmk_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.h8
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
23void dip_switch_update_kb(uint8_t index, bool active); 23bool dip_switch_update_kb(uint8_t index, bool active);
24void dip_switch_update_user(uint8_t index, bool active); 24bool dip_switch_update_user(uint8_t index, bool active);
25void dip_switch_update_mask_user(uint32_t state); 25bool dip_switch_update_mask_user(uint32_t state);
26void dip_switch_update_mask_kb(uint32_t state); 26bool dip_switch_update_mask_kb(uint32_t state);
27 27
28void dip_switch_init(void); 28void dip_switch_init(void);
29void dip_switch_read(bool forced); 29void dip_switch_read(bool forced);