Not creating code.py file for non-express boards

This commit is contained in:
Ayan Pahwa 2019-11-26 00:06:03 +05:30
parent 9c6466cffb
commit 5e1740d11f

View File

@ -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";