altos: Remove 8051 address space specifiers
[fw/altos] / src / kernel / ao_send_packet.c
index c8a1d46e7d4523a68286914fc84e81dfefb4dd24..3206b2d6d1cd4f2ad4f0fb8fa0c6a161cb454d66 100644 (file)
 
 #define AO_MAX_SEND    128
 
-static __xdata uint8_t ao_send[AO_MAX_SEND];
+static uint8_t ao_send[AO_MAX_SEND];
 
 static void
 ao_send_packet(void)
 {
-       __pdata uint16_t count;
+       uint16_t count;
        uint8_t b;
-       __pdata uint8_t i;
+       uint8_t i;
 
        ao_cmd_hex();
        count = ao_cmd_lex_i;
@@ -47,7 +47,7 @@ ao_send_packet(void)
        ao_radio_send(ao_send, count);
 }
 
-static __code struct ao_cmds ao_send_packet_cmds[] = {
+static const struct ao_cmds ao_send_packet_cmds[] = {
        { ao_send_packet, "S <len>\0Send packet. Data on next line" },
        { 0, NULL }
 };