Remove obsolete timer functions and replace with std::chrono (#64)

Removed delayTicks(), delayMillis(), delaySeconds(), HAL_NO_WAIT, HAL_WAIT_FOREVER,
niTimestamp32(), and niTimestamp64().

Replaced clock_gettime() and usleep() with std::chrono.
This commit is contained in:
Tyler Veness
2016-05-26 20:19:23 -07:00
committed by Peter Johnson
parent 4af0bbddee
commit fa8bb3fa91
14 changed files with 37 additions and 119 deletions

View File

@@ -1,7 +1,6 @@
#include "ctre/PDP.h"
#include "FRC_NetworkCommunication/CANSessionMux.h" //CAN Comm
#include <string.h> // memset
#include <unistd.h> // usleep
#define STATUS_1 0x8041400
#define STATUS_2 0x8041440