mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Removes workarounds for issues in image 10 (#816)
This commit is contained in:
committed by
Peter Johnson
parent
5078f6c92a
commit
4e3af0756d
@@ -473,9 +473,6 @@ int32_t HAL_GetPWMLoopTiming(int32_t* status) {
|
||||
uint64_t HAL_GetPWMCycleStartTime(int32_t* status) {
|
||||
initializeDigital(status);
|
||||
if (*status != 0) return 0;
|
||||
// Because of a bug in FPGA image 10, just return the lower 32 bits of cycle
|
||||
// time.
|
||||
return pwmSystem->readCycleStartTime(status);
|
||||
|
||||
uint64_t upper1 = pwmSystem->readCycleStartTimeUpper(status);
|
||||
uint32_t lower = pwmSystem->readCycleStartTime(status);
|
||||
|
||||
Reference in New Issue
Block a user