tracker/src/tracker.cpp
/**
 * Call back for file timestamps.
 */
Call back for file timestamps.
Call back for file timestamps .
void timestamp(uint16_t *date, uint16_t *time) {
  DateTime now = clock.now();
  *date = FS_DATE(now.year(), now.month(), now.day());
  *time = FS_TIME(now.hour(), now.minute(), now.second());
}
void timestamp ( uint16_t * date , uint16_t * time ) { DateTime now = clock . now ( ) ; * date = FS_DATE ( now . year ( ) , now . month ( ) , now . day ( ) ) ; * time = FS_TIME ( now . hour ( ) , now . minute ( ) , now . second ( ) ) ; }
Call back for file timestamps.
Call back for file timestamps .
// Return date using FS_DATE macro to format fields. // Return time using FS_TIME macro to format fields.