commit | f853bded2f6c029448a01389fd481aeec43a0db1 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Thu Nov 23 13:23:27 2017 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Fri Mar 02 21:37:13 2018 -0800 |
tree | de783ad152e1fcb565626fea30cb78ab8b05d94e | |
parent | 94f51e96711f54085b9e901a467f6cb63ebd06c8 [diff] [blame] |
Convert to 64 bit timestamps in dma edge counting. Change-Id: If6dbb578e7408ca6a8e87ad43d65d593db8d59eb
diff --git a/frc971/wpilib/dma_edge_counting.h b/frc971/wpilib/dma_edge_counting.h index c71e7ae..813f59c 100644 --- a/frc971/wpilib/dma_edge_counting.h +++ b/frc971/wpilib/dma_edge_counting.h
@@ -195,7 +195,7 @@ ::std::vector<DMASampleHandlerInterface *> handlers_; // The time at which we most recently read the sensor values. - uint32_t sample_time_ = 0; + int64_t sample_time_ = 0; DISALLOW_COPY_AND_ASSIGN(DMASynchronizer); };