diff options
Diffstat (limited to 'debug/programs/debug.c')
-rw-r--r-- | debug/programs/debug.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debug/programs/debug.c b/debug/programs/debug.c index 3ba51bc..44b4b51 100644 --- a/debug/programs/debug.c +++ b/debug/programs/debug.c @@ -53,9 +53,12 @@ int main() volatile int i = 0; int j = 0; - char *fox = "The quick brown fox jumps of the lazy dog."; + static char fox[43]; unsigned int checksum = 0; + /* fox needs to be writable, but the string could be in ROM. */ + strcpy(fox, "The quick brown fox jumps of the lazy dog."); + start: while (i) j++; |