diff options
| author | Damien George | 2014-09-29 09:48:35 +0100 |
|---|---|---|
| committer | Damien George | 2014-09-29 15:26:11 +0100 |
| commit | 3a2795e200bd3b1248768b6b0fef6bb28487ed42 (patch) | |
| tree | a86d10fe441592c153da82f54fd61eec5ef6792d /stmhal/main.c | |
| parent | f042d7a4d7197d87798bc9727e9df094a3edd7c1 (diff) | |
stmhal: Add label to internal flash drive on creation.
Diffstat (limited to 'stmhal/main.c')
| -rw-r--r-- | stmhal/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index 05b097b7b..84ce6353a 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -350,6 +350,9 @@ soft_reset: __fatal_error("could not create LFS"); } + // set label + f_setlabel("/flash/pybflash"); + // create empty main.py FIL fp; f_open(&fp, "/flash/main.py", FA_WRITE | FA_CREATE_ALWAYS); |
