Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions stmhal/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ static const char fresh_bootstrap_py[] =
#include "genhdr/bootstrap.py.h"
;

static const char fresh_wifi_json[] = "{\"ssid\":\"emfcamp-insecure\"}\r\n";

static const char fresh_pybcdc_inf[] =
#include "genhdr/pybcdc_inf.h"
;
Expand Down Expand Up @@ -202,11 +200,6 @@ void init_flash_fs(uint reset_mode) {
// TODO check we could write n bytes
f_close(&fp);

// create wifi.json
f_open(&fp, "/flash/wifi.json", FA_WRITE | FA_CREATE_ALWAYS);
f_write(&fp, fresh_wifi_json, sizeof(fresh_wifi_json) - 1 /* don't count null terminator */, &n);
f_close(&fp);

// create .inf driver file
f_open(&fp, "/flash/pybcdc.inf", FA_WRITE | FA_CREATE_ALWAYS);
f_write(&fp, fresh_pybcdc_inf, sizeof(fresh_pybcdc_inf) - 1 /* don't count null terminator */, &n);
Expand Down