aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/bkp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/bkp.c')
-rw-r--r--libmaple/bkp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmaple/bkp.c b/libmaple/bkp.c
index 5b0ad4a..e89abd0 100644
--- a/libmaple/bkp.c
+++ b/libmaple/bkp.c
@@ -73,7 +73,7 @@ uint16 bkp_read(uint8 reg) {
if (addr != 0) {
return *addr;
}
- ASSERT(0);
+ ASSERT(0); /* nonexistent register */
return 0;
}
@@ -82,4 +82,5 @@ void bkp_write(uint8 reg, uint16 val) {
if (addr != 0) {
*addr = val;
}
+ ASSERT(0); /* nonexistent register */
}