mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Prepends all HAL functions with HAL_ (#146)
This commit is contained in:
committed by
Peter Johnson
parent
5ad28d58ec
commit
b637b9ee4c
@@ -114,7 +114,7 @@ TEST_F(AnalogLoopTest, AsynchronusInterruptWorks) {
|
||||
|
||||
// Given an interrupt handler that sets an int to 12345
|
||||
std::shared_ptr<AnalogTriggerOutput> triggerOutput =
|
||||
trigger.CreateOutput(kState);
|
||||
trigger.CreateOutput(AnalogTriggerType::kState);
|
||||
triggerOutput->RequestInterrupts(InterruptHandler, ¶m);
|
||||
triggerOutput->EnableInterrupts();
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ class TestEnvironment : public testing::Environment {
|
||||
if (m_alreadySetUp) return;
|
||||
m_alreadySetUp = true;
|
||||
|
||||
if (!HALInitialize()) {
|
||||
if (!HAL_Initialize()) {
|
||||
std::cerr << "FATAL ERROR: HAL could not be initialized" << std::endl;
|
||||
exit(-1);
|
||||
}
|
||||
@@ -30,7 +30,7 @@ class TestEnvironment : public testing::Environment {
|
||||
station. After starting network coms, it will loop until the driver
|
||||
station returns that the robot is enabled, to ensure that tests
|
||||
will be able to run on the hardware. */
|
||||
HALNetworkCommunicationObserveUserProgramStarting();
|
||||
HAL_NetworkCommunicationObserveUserProgramStarting();
|
||||
LiveWindow::GetInstance()->SetEnabled(false);
|
||||
|
||||
std::cout << "Waiting for enable" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user