make the examples work again
[fw/sdcc] / device / examples / ds390 / ow390 / thermodl.c
index 0c461d7930644b25d4b7b23f82b0d4fd6eca390b..652c97242a2aee9b3566d34e2ea862b7e722d7cc 100644 (file)
@@ -181,7 +181,7 @@ int main() //short argc, char **argv)
 void PrintResults(ThermoStateType *ThermoState, FILE *fp, int ConvertToF)
 {
   // aslink only can handle 64k, so we use the second 64k bank
-   char *str=(char*)0x190000;
+   char *str=(xdata char*)0x190000;
 
    // check if need to use standard out
    if (fp == NULL)