diff options
| author | Dan Halbert <halbert@adafruit.com> | 2021-01-21 16:54:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-21 16:54:37 -0500 |
| commit | 2249a33203339803c8a0b23e80eec15d77b7f23e (patch) | |
| tree | 49fb85346b3ce60a08ad7780b8aec7fd0f72366f /supervisor/shared/filesystem.c | |
| parent | eff68b0d9fb101176a808cb68f0158e1615ed8bf (diff) | |
| parent | 9b8246f889bda79b5945c7acbd016de4886419ef (diff) | |
Merge pull request #4031 from tannewt/rp2040
Add initial RP2040 support
Diffstat (limited to 'supervisor/shared/filesystem.c')
| -rw-r--r-- | supervisor/shared/filesystem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c index 618dc796b..09b30b6ba 100644 --- a/supervisor/shared/filesystem.c +++ b/supervisor/shared/filesystem.c @@ -79,6 +79,8 @@ static void make_sample_code_file(FATFS *fatfs) { f_open(fatfs, &fs, "/code.py", FA_WRITE | FA_CREATE_ALWAYS); f_write(&fs, buffer, sizeof(buffer) - 1, &char_written); f_close(&fs); + #else + make_empty_file(fatfs, "/code.py"); #endif } |
