Fix missing year offset on the TempDataLogger Python host application.

pull/1469/head
Dean Camera 11 years ago
parent a899ee0cf4
commit fc61e88a8d

@ -53,7 +53,7 @@ def configure_temp_log_device(device, time_date, log_interval_500ms):
# Followed by the time/date data # Followed by the time/date data
report_data.extend([time_date.hour, time_date.minute, report_data.extend([time_date.hour, time_date.minute,
time_date.second, time_date.day, time_date.second, time_date.day,
time_date.month, time_date.year]) time_date.month, time_date.year - 2000])
# Lastly the log interval in 500ms units of time # Lastly the log interval in 500ms units of time
report_data.extend([log_interval_500ms]) report_data.extend([log_interval_500ms])

Loading…
Cancel
Save