Compare commits
2 Commits
6ae88b0101
...
17b911ff8e
Author | SHA1 | Date | |
---|---|---|---|
17b911ff8e | |||
1b1d3a14d6 |
3
config/config.txt
Normal file
3
config/config.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
dtparam=spi=on
|
||||||
|
dtoverlay=hifiberry-dac
|
||||||
|
dtoverlay=gpio-poweroff,gpiopin=24,active_low=1
|
@ -102,7 +102,7 @@ inline void input_clear_events()
|
|||||||
|
|
||||||
inline uint8_t get_sbc_state()
|
inline uint8_t get_sbc_state()
|
||||||
{
|
{
|
||||||
return !(PORT_SBCMON(PIN) & PIN_SBCMON);
|
return (PORT_SBCMON(PIN) & PIN_SBCMON);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Need to call timer_proc() before calling this function!
|
// Need to call timer_proc() before calling this function!
|
||||||
|
Loading…
Reference in New Issue
Block a user