commit | 8f314a922d2518e4896b4811c5d4f2d8eb219d7e | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Sun Nov 22 21:35:40 2015 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Sun Nov 22 21:35:40 2015 -0800 |
tree | 893e979391d65a24f8d2c35f9b528cd7042d1f6e | |
parent | 82e940c4dcf3561f1dbeb81bbd00768047a9f79f [diff] [blame] |
Fixed DMA time comparison. Change-Id: I9aa454f3a3c75bd2ad65c0bcb62591e1acbc17f8
diff --git a/frc971/wpilib/dma_edge_counting.h b/frc971/wpilib/dma_edge_counting.h index c145268..9347c83 100644 --- a/frc971/wpilib/dma_edge_counting.h +++ b/frc971/wpilib/dma_edge_counting.h
@@ -165,7 +165,7 @@ ::std::vector<DMASampleHandlerInterface *> handlers_; // The time at which we most recently read the sensor values. - double sample_time_ = 0.0; + uint32_t sample_time_ = 0.0; DISALLOW_COPY_AND_ASSIGN(DMASynchronizer); };