projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Make fewer LCO variables public
[fw/altos]
/
src
/
drivers
/
ao_gps_ublox.c
diff --git
a/src/drivers/ao_gps_ublox.c
b/src/drivers/ao_gps_ublox.c
index 22af413a0098008f2ed7dd1e1fa44834ef0c54f9..c720f802acd2e9a73476d6a95dce6dca0bf0dde9 100644
(file)
--- a/
src/drivers/ao_gps_ublox.c
+++ b/
src/drivers/ao_gps_ublox.c
@@
-156,7
+156,7
@@
static char __xdata *ublox_target;
static void ublox_u16(uint8_t offset)
{
static void ublox_u16(uint8_t offset)
{
- uint16_t __xdata *ptr = (uint16_t __xdata *) (ublox_target + offset);
+ uint16_t __xdata *ptr = (uint16_t __xdata *) (
void __xdata *) (
ublox_target + offset);
uint16_t val;
val = data_byte();
uint16_t val;
val = data_byte();
@@
-175,7
+175,7
@@
static void ublox_u8(uint8_t offset)
static void ublox_u32(uint8_t offset) __reentrant
{
static void ublox_u32(uint8_t offset) __reentrant
{
- uint32_t __xdata *ptr = (uint32_t __xdata *) (ublox_target + offset);
+ uint32_t __xdata *ptr = (uint32_t __xdata *) (
void __xdata *) (
ublox_target + offset);
uint32_t val;
val = ((uint32_t) data_byte ());
uint32_t val;
val = ((uint32_t) data_byte ());