Prefix LOG and CHECK with AOS_
This prepares us for introducing glog more widely and transitioning
things over where they make sense.
Change-Id: Ic6c208882407bc2153fe875ffc736d66f5c8ade5
diff --git a/frc971/wpilib/buffered_pcm.cc b/frc971/wpilib/buffered_pcm.cc
index de8c547..3123add 100644
--- a/frc971/wpilib/buffered_pcm.cc
+++ b/frc971/wpilib/buffered_pcm.cc
@@ -16,7 +16,7 @@
solenoid_handles_[i] =
HAL_InitializeSolenoidPort(HAL_GetPortWithModule(module_, i), &status);
if (status != 0) {
- LOG(FATAL, "Status was %d\n", status);
+ AOS_LOG(FATAL, "Status was %d\n", status);
}
}
}
@@ -38,18 +38,18 @@
int32_t status = 0;
int32_t result = HAL_GetAllSolenoids(module_, &status);
if (status != 0) {
- LOG(ERROR, "Failed to flush, %d\n", status);
+ AOS_LOG(ERROR, "Failed to flush, %d\n", status);
return 0;
}
return result;
}
void BufferedPcm::Flush() {
- LOG(DEBUG, "sending solenoids 0x%" PRIx8 "\n", values_);
+ AOS_LOG(DEBUG, "sending solenoids 0x%" PRIx8 "\n", values_);
int32_t status = 0;
HAL_SetAllSolenoids(module_, static_cast<int>(values_), &status);
if (status != 0) {
- LOG(ERROR, "Failed to flush, %d\n", status);
+ AOS_LOG(ERROR, "Failed to flush, %d\n", status);
}
}