The dt comes from:
- Code: Select all
vTaskDelayUntil( &xLastExecutionTime, ( ( portTickType ) 20 / portTICK_RATE_MS ) ); //!> 50Hz
TICK_RATE = 1000 ticks per second
To enable datalogging without the GPS, you just need to comment out this line:
- Code: Select all
// wait for GPS (date & time!)
while(sensor_data.gps.status != ACTIVE)
vTaskDelayUntil( &xLastExecutionTime, ( ( portTickType ) 1000 / portTICK_RATE_MS ) );
Feel free to open up new topics for new questions
Tom