diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-02-22 22:19:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-02-22 22:19:13 +0100 |
commit | cefc03d92aa34622424c675c16eca56da8c9f135 (patch) | |
tree | eb82395aee4e1826c802dc7e7f3a3976fd1ed731 /src/system.cc | |
parent | 3e9dbbdeae2d3c9480bcdd99daf51c0e29da52e7 (diff) |
some more comments
Diffstat (limited to 'src/system.cc')
-rw-r--r-- | src/system.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/system.cc b/src/system.cc index 19c9849..f472b05 100644 --- a/src/system.cc +++ b/src/system.cc @@ -230,6 +230,8 @@ void System::loop() want_shutdown = 0; } + // TODO refactor the blocks above and below into one + if ((PINC & _BV(PC3)) == 0) { btnMask = (ButtonMask)(btnMask | BUTTON_RIGHT); } @@ -296,5 +298,5 @@ void System::shutdown() ISR(PCINT1_vect) { - // we use PCINT1 for wakeup, so we should catch it here (and do nothing) + // we use PCINT1 for wakeup, so we need an (in this case empty) ISR for it } |