mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Ran format.py after writing unit tests for and fixing bugs in it (#239)
This commit is contained in:
committed by
Peter Johnson
parent
ac9b6f7b18
commit
659dbef751
@@ -8,6 +8,7 @@
|
||||
#include "Task.h"
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstdio>
|
||||
|
||||
#include "WPIErrors.h"
|
||||
|
||||
@@ -98,7 +99,7 @@ bool Task::HandleError(STATUS results) {
|
||||
if (errsv == HAL_TaskLib_ILLEGAL_PRIORITY) {
|
||||
wpi_setWPIErrorWithContext(TaskPriorityError, m_taskName.c_str());
|
||||
} else {
|
||||
printf("ERROR: errno=%i", errsv);
|
||||
std::printf("ERROR: errno=%i", errsv);
|
||||
wpi_setWPIErrorWithContext(TaskError, m_taskName.c_str());
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user