Browse Source

fix

master
ledda-mobile 2 weeks ago
parent
commit
f0d02bc3f6
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      app.cpp

+ 4
- 2
app.cpp View File

@@ -349,8 +349,10 @@ int gymTrackerDo(Arena *arena, list<string> args) {
GymLogEntry entry = { GymLogEntry entry = {
getSystemUnixTime(), getSystemUnixTime(),
exercise.id, exercise.id,
reps.result,
kg.result,
{
reps.result,
kg.result,
},
}; };


os_fileAppend(arena, LOG_FILE_LOCATION, (byte *)&entry, sizeof(entry)); os_fileAppend(arena, LOG_FILE_LOCATION, (byte *)&entry, sizeof(entry));


Loading…
Cancel
Save