From 48ac857cc3082aee3300a4d39834e109bd909f82 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 3 Nov 2019 14:11:42 +0100 Subject: Move timer stuff to common --- sw/pins.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sw/pins.h') 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, +}; + -- cgit v1.2.3