projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/stm32f4: Add more stm32f413 definitions and support code
[fw/altos]
/
src
/
kernel
/
ao_freq.c
diff --git
a/src/kernel/ao_freq.c
b/src/kernel/ao_freq.c
index 12496f6fdf785a2d94f5fac84c239092ede0e004..81640ce8af72a8678c51158678c063e94f9562c8 100644
(file)
--- a/
src/kernel/ao_freq.c
+++ b/
src/kernel/ao_freq.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
@@
-25,11
+26,11
@@
* frequency, and updating the radio setting along the way
*/
* frequency, and updating the radio setting along the way
*/
-int32_t ao_freq_to_set(int32_t freq, int32_t cal)
__reentrant
+int32_t ao_freq_to_set(int32_t freq, int32_t cal)
{
{
- static
__pdata
int32_t set;
- static
__pdata
uint8_t neg;
- static
__pdata
int32_t error;
+ static int32_t set;
+ static uint8_t neg;
+ static int32_t error;
set = 0;
neg = 0;
set = 0;
neg = 0;