projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Remove 8051 address space specifiers
[fw/altos]
/
src
/
drivers
/
ao_mma655x.c
diff --git
a/src/drivers/ao_mma655x.c
b/src/drivers/ao_mma655x.c
index 5d44bffdae8982bead6f95152be2d4ddd0acf111..a48c1db20cec31606910d5446d69e30ad7c3eb36 100644
(file)
--- a/
src/drivers/ao_mma655x.c
+++ b/
src/drivers/ao_mma655x.c
@@
-259,7
+259,7
@@
ao_mma655x_dump(void)
printf ("MMA655X value %d\n", ao_mma655x_current);
}
printf ("MMA655X value %d\n", ao_mma655x_current);
}
-
__code
struct ao_cmds ao_mma655x_cmds[] = {
+
const
struct ao_cmds ao_mma655x_cmds[] = {
{ ao_mma655x_dump, "A\0Display MMA655X data" },
{ 0, NULL },
};
{ ao_mma655x_dump, "A\0Display MMA655X data" },
{ 0, NULL },
};
@@
-277,7
+277,7
@@
ao_mma655x(void)
}
}
}
}
-static
__xdata
struct ao_task ao_mma655x_task;
+static struct ao_task ao_mma655x_task;
void
ao_mma655x_init(void)
void
ao_mma655x_init(void)