From 5e1740d11f9cc446611281210a89b68013be8090 Mon Sep 17 00:00:00 2001 From: Ayan Pahwa Date: Tue, 26 Nov 2019 00:06:03 +0530 Subject: [PATCH] Not creating code.py file for non-express boards --- supervisor/shared/filesystem.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c index 6745c496d5..a0c2b915fa 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";