aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-20 16:30:49 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-22 14:06:09 -0400
commit0262fe55fa5c87264b3e93358474a77289603d20 (patch)
tree3c2919049c7ffe94230a0b7bf34d895e663e0ecf /libmaple
parent53b77e1ef202191fb398092ca1d5d10b2ad602bb (diff)
downloadlibrambutan-0262fe55fa5c87264b3e93358474a77289603d20.tar.gz
librambutan-0262fe55fa5c87264b3e93358474a77289603d20.zip
libmaple/i2c.c: Replace throb() with ASSERT(0).
Calling throb() directly like that breaks the abstraction. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/i2c.c b/libmaple/i2c.c
index 451643e..1618586 100644
--- a/libmaple/i2c.c
+++ b/libmaple/i2c.c
@@ -193,7 +193,7 @@ void _i2c_irq_handler(i2c_dev *dev) {
/*
* This should be impossible...
*/
- throb();
+ ASSERT(0);
}
sr1 = sr2 = 0;
}