diff options
| author | Dan Halbert <halbert@adafruit.com> | 2021-01-11 19:56:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 19:56:18 -0500 |
| commit | 047708e36e67beee14771120296cdf758f00601d (patch) | |
| tree | bc393424aa4c49c5516fae2b23cc0468cbb0080c /supervisor | |
| parent | 4db55652a3d971b193b327566b65f780af434657 (diff) | |
| parent | 09596ddca208b2bd337c5e6650e61d1ff972dad4 (diff) | |
Merge pull request #3973 from kattni/update-code-py
Update created code.py file formatting.
Diffstat (limited to 'supervisor')
| -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 88603be0c..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); |
