projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/arm: Align data so that gcc 5.4 doesn't do byte-accesses. Add -Wcast-align
[fw/altos]
/
src
/
stm
/
ao_led.c
diff --git
a/src/stm/ao_led.c
b/src/stm/ao_led.c
index 0acab1065b82cb9440c25e7e553e457fdf4db519..0f39befb9426843f1f63d260ff9c77509b187351 100644
(file)
--- a/
src/stm/ao_led.c
+++ b/
src/stm/ao_led.c
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-86,7
+87,7
@@
ao_led_for(uint16_t colors, uint16_t ticks) __reentrant
stm_moder_set(port, bit, STM_MODER_OUTPUT); \
stm_otyper_set(port, bit, STM_OTYPER_PUSH_PULL); \
} while (0)
stm_moder_set(port, bit, STM_MODER_OUTPUT); \
stm_otyper_set(port, bit, STM_OTYPER_PUSH_PULL); \
} while (0)
-
+
void
ao_led_init(uint16_t enable)
{
void
ao_led_init(uint16_t enable)
{