diff options
author | Dmitry Mikhirev | 2014-10-26 20:54:18 +0300 |
---|---|---|
committer | Dmitry Mikhirev | 2014-10-26 20:54:18 +0300 |
commit | bcf08a8c5498b1e80d748b6d4347251f5b2b1d2c (patch) | |
tree | 7466e2e36c4bf8bdf890c0cdaa1a6fb440c926c7 | |
parent | f0044355ac4d937b8cdaefb283ec01cb2816264d (diff) | |
download | brainuino-bcf08a8c5498b1e80d748b6d4347251f5b2b1d2c.tar.gz brainuino-bcf08a8c5498b1e80d748b6d4347251f5b2b1d2c.tar.bz2 brainuino-bcf08a8c5498b1e80d748b6d4347251f5b2b1d2c.tar.xz brainuino-bcf08a8c5498b1e80d748b6d4347251f5b2b1d2c.zip |
buttonPressed must be volatile
-rw-r--r-- | game.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,6 +42,6 @@ uint8_t timer2; uint8_t preSignal; uint32_t startTime; uint32_t time; -uint8_t buttonPressed; +volatile uint8_t buttonPressed; #endif |