project/weight.c
/**
 * Reloads profiles file and repopulates the profile and log arrays.
 */
Reloads profiles file and repopulates the profile and log arrays.
Reloads profiles file and repopulates the profile and log arrays .
void refreshData(void)
{
  if (millis() - lastTime > DEBOUNCE_TIME)
  {
    currentUser = -1;
    loadFile(F_JSON);
  }
  lastTime = millis();
}
void refreshData ( void ) { if ( millis ( ) - lastTime > DEBOUNCE_TIME ) { currentUser = -1 ; loadFile ( F_JSON ) ; } lastTime = millis ( ) ; }
Reloads profiles file and repopulates the profile and log arrays.
Reloads profiles file and repopulates the profile and log arrays .