diff options
author | luc wastiaux <luc.wastiaux@airpost.net> | 2017-02-13 07:44:28 +0800 |
---|---|---|
committer | luc wastiaux <luc.wastiaux@airpost.net> | 2017-02-13 07:44:28 +0800 |
commit | 352d79e1fbbd7eea65793abb261dd544fec7bb1c (patch) | |
tree | e006ee8098826054d93939b2a59521f6c032e10d /keyboards/handwired/promethium/promethium.h | |
parent | 5f8535b356e66975e20f1a573ab104db75f8b33c (diff) | |
parent | 4505db5d0e0c2423645cc9117f29b942d4841c5b (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboards/handwired/promethium/promethium.h')
-rw-r--r-- | keyboards/handwired/promethium/promethium.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/keyboards/handwired/promethium/promethium.h b/keyboards/handwired/promethium/promethium.h index 662eeab990..da37e5c560 100644 --- a/keyboards/handwired/promethium/promethium.h +++ b/keyboards/handwired/promethium/promethium.h @@ -4,6 +4,11 @@ #include "quantum.h" #define PS2_INIT_DELAY 2000 +#define UNICODE_TYPE_DELAY 0 +#define BATTERY_PIN 9 +#define BATTERY_POLL 30000 +#define MAX_VOLTAGE 4.2 +#define MIN_VOLTAGE 3.2 #define KEYMAP( \ k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ @@ -22,6 +27,8 @@ {k47, k48, k49, k4a, k4b, k4c} \ } + + enum led_sequence { LED_IND_BLUETOOTH, LED_IND_USB, @@ -98,4 +105,4 @@ enum led_sequence { #endif - +void battery_poll(uint8_t level);
\ No newline at end of file |