Skip to content

Commit

Permalink
Adding escape characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
kattni committed Jan 11, 2021
1 parent 9e92917 commit 09596dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/shared/filesystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 09596dd

Please sign in to comment.