APM_Control/AP_AutoTune: use 64-bit timestamps for dataflash logs
This commit is contained in:
parent
457f77314e
commit
9ae85ed9ab
@ -331,7 +331,7 @@ void AP_AutoTune::write_log(float servo, float demanded, float achieved)
|
||||
|
||||
struct log_ATRP pkt = {
|
||||
LOG_PACKET_HEADER_INIT(LOG_ATRP_MSG),
|
||||
timestamp : hal.scheduler->millis(),
|
||||
time_us : hal.scheduler->micros64(),
|
||||
type : type,
|
||||
state : (uint8_t)state,
|
||||
servo : (int16_t)(servo*100),
|
||||
|
@ -25,7 +25,7 @@ public:
|
||||
|
||||
struct PACKED log_ATRP {
|
||||
LOG_PACKET_HEADER;
|
||||
uint32_t timestamp;
|
||||
uint64_t time_us;
|
||||
uint8_t type;
|
||||
uint8_t state;
|
||||
int16_t servo;
|
||||
|
Loading…
Reference in New Issue
Block a user