aboutsummaryrefslogtreecommitdiffstats
path: root/sw/pins.h
diff options
context:
space:
mode:
Diffstat (limited to 'sw/pins.h')
-rw-r--r--sw/pins.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sw/pins.h b/sw/pins.h
index c69870d..b22b2c9 100644
--- a/sw/pins.h
+++ b/sw/pins.h
@@ -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,
+};
+