diff options
| author | Ayan Pahwa <iayanpahwa@gmail.com> | 2019-11-26 00:06:03 +0530 |
|---|---|---|
| committer | Ayan Pahwa <iayanpahwa@gmail.com> | 2019-11-26 00:06:03 +0530 |
| commit | 5e1740d11f9cc446611281210a89b68013be8090 (patch) | |
| tree | bc99e1d4b430d006dd5ac6cb9b07964bee71374c /supervisor | |
| parent | 9c6466cffb0ac3a303e49bd0b685a47807a30367 (diff) | |
Not creating code.py file for non-express boards
Diffstat (limited to 'supervisor')
| -rw-r--r-- | supervisor/shared/filesystem.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c index 6745c496d..a0c2b915f 100644 --- a/supervisor/shared/filesystem.c +++ b/supervisor/shared/filesystem.c @@ -71,10 +71,7 @@ static void make_empty_file(FATFS *fatfs, const char *path) { static void make_sample_code_file(FATFS *fatfs) { - #if CIRCUITPY_FULL_BUILD == 0 - make_empty_file(fatfs, "/code.py"); - - #else + #if CIRCUITPY_FULL_BUILD == 1 FIL fs; UINT char_written = 0; const byte buffer[] = "print('Hello World!')\n"; |
