projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
312f303
)
altos/stmf0: Change tests for AO_BOOT_CHAIN and AO_BOOT_PIN to #if
author
Keith Packard
<keithp@keithp.com>
Wed, 2 May 2018 06:36:16 +0000
(23:36 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 2 May 2018 06:36:16 +0000
(23:36 -0700)
Were #ifdef, which meant that #define AO_BOOT_PIN 0 didn't work right.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/ao_interrupt.c
patch
|
blob
|
history
diff --git
a/src/stmf0/ao_interrupt.c
b/src/stmf0/ao_interrupt.c
index fcd330f1b5aafc6620075ecfad98ad40a3be6aa6..0d6f61131c0532d87e4daac9a9dafd8a895d2320 100644
(file)
--- a/
src/stmf0/ao_interrupt.c
+++ b/
src/stmf0/ao_interrupt.c
@@
-69,9
+69,9
@@
stm_flash_size(void) {
void start(void)
{
-#if
def
AO_BOOT_CHAIN
+#if AO_BOOT_CHAIN
if (ao_boot_check_chain()) {
-#if
def
AO_BOOT_PIN
+#if AO_BOOT_PIN
ao_boot_check_pin();
#endif
}