diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-09 13:01:12 -0400 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-09 13:05:37 -0400 |
commit | e71a70d23100c178e7300f1c0bddccfc51d99eb7 (patch) | |
tree | 8788e5454860e725dd5ba02c89c69d3834be6a2f /movement/movement.c | |
parent | 22b1ac0283a6aed800ea86960305284199747cdc (diff) | |
download | Sensor-Watch-e71a70d23100c178e7300f1c0bddccfc51d99eb7.tar.gz Sensor-Watch-e71a70d23100c178e7300f1c0bddccfc51d99eb7.tar.bz2 Sensor-Watch-e71a70d23100c178e7300f1c0bddccfc51d99eb7.zip |
add file browser to movement, remove old app
Diffstat (limited to 'movement/movement.c')
-rw-r--r-- | movement/movement.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/movement/movement.c b/movement/movement.c index 72c087e9..3444a378 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -254,6 +254,8 @@ void app_init(void) { movement_state.next_available_backup_register = 4; _movement_reset_inactivity_countdown(); + filesystem_init(); + #if __EMSCRIPTEN__ int32_t time_zone_offset = EM_ASM_INT({ return -new Date().getTimezoneOffset(); @@ -450,7 +452,7 @@ bool app_loop(void) { #else read(0, line, 256); #endif - if (strlen(line)) printf(line); + if (strlen(line)) filesystem_process_command(line); } event.subsecond = 0; |