diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-11-03 14:11:42 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-11-03 14:11:42 +0100 |
commit | 48ac857cc3082aee3300a4d39834e109bd909f82 (patch) | |
tree | 2c8b1745a477faf929e25257230fef65bd8a4571 /sw/pins.h | |
parent | 76bd2a5423b249096699d29a995467eb2ed0513d (diff) | |
download | glutte-batteries-48ac857cc3082aee3300a4d39834e109bd909f82.tar.gz glutte-batteries-48ac857cc3082aee3300a4d39834e109bd909f82.tar.bz2 glutte-batteries-48ac857cc3082aee3300a4d39834e109bd909f82.zip |
Move timer stuff to common
Diffstat (limited to 'sw/pins.h')
-rw-r--r-- | sw/pins.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -83,12 +83,17 @@ constexpr uint8_t PIND_INIT = 0; inline void pins_set_status(bool enable) { - cli(); if (enable) { PORTB &= ~PINB_STATUSn; } else { PORTB |= PINB_STATUSn; } - sei(); } + +enum class relay_id_t { + K1, + K2, + K3, +}; + |