diff options
| author | Kattni Rembor <kattni@adafruit.com> | 2021-01-11 16:26:27 -0500 |
|---|---|---|
| committer | Kattni Rembor <kattni@adafruit.com> | 2021-01-11 16:26:27 -0500 |
| commit | 09596ddca208b2bd337c5e6650e61d1ff972dad4 (patch) | |
| tree | 0eafed09bcbe469ab9a80b0010abf2403fd6cb0e | |
| parent | 9e9291777f5fe3bb6f1545c62cb7285268f61cda (diff) | |
Adding escape characters.
| -rw-r--r-- | supervisor/shared/filesystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c index 184c67b5f..618dc796b 100644 --- a/supervisor/shared/filesystem.c +++ b/supervisor/shared/filesystem.c @@ -74,7 +74,7 @@ static void make_sample_code_file(FATFS *fatfs) { #if CIRCUITPY_FULL_BUILD FIL fs; UINT char_written = 0; - const byte buffer[] = "print("Hello World!")\n"; + const byte buffer[] = "print(\"Hello World!\")\n"; //Create or modify existing code.py file f_open(fatfs, &fs, "/code.py", FA_WRITE | FA_CREATE_ALWAYS); f_write(&fs, buffer, sizeof(buffer) - 1, &char_written); |
