summaryrefslogtreecommitdiff
path: root/src/ao_gps_sirf.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-10-16 12:56:45 +0900
committerKeith Packard <keithp@keithp.com>2009-10-16 12:56:45 +0900
commitd709a0688eff84e25e24d755850ef045d6b0c3de (patch)
treee5aa394224f57a3c324a6360419b420421680003 /src/ao_gps_sirf.c
parent69b6f6bb465163cf767bb68e0e4a716d8ad2b39c (diff)
Save some DSEG space by marking cmd functions __reentrant
__reentrant causes the compiler to place args and locals on the stack instead of in the data segment. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_gps_sirf.c')
-rw-r--r--src/ao_gps_sirf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_gps_sirf.c b/src/ao_gps_sirf.c
index 2b3a5178..58438760 100644
--- a/src/ao_gps_sirf.c
+++ b/src/ao_gps_sirf.c
@@ -302,7 +302,7 @@ static const char ao_gps_set_message_rate[] = {
};
void
-ao_sirf_set_message_rate(uint8_t msg, uint8_t rate)
+ao_sirf_set_message_rate(uint8_t msg, uint8_t rate) __reentrant
{
uint16_t cksum = 0x00a6;
uint8_t i;