diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-10-10 01:11:58 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-10-10 01:11:58 +0200 |
commit | dad025934dc59d58b93a5067694d8a499b8117af (patch) | |
tree | 8c5e53a90f8687e02daa6d3f7fd54e1b2314f9ff | |
parent | 88162aeb7becabf7491585fb85b71ba99f1d3de3 (diff) |
Fix unused variable warning.
-rw-r--r-- | i2c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ void interrupt<Interrupt::I2C1_ER>() { void I2C::irq_ev() { uint32_t sr1 = I2C1.SR1; - uint32_t sr2 = I2C1.SR2; + I2C1.SR2; // EV5, SB = 1: Start condition sent. if(sr1 & 0x01) { |