mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fixed spacing and comment annotations around namespace and extern declarations (#587)
This commit is contained in:
committed by
Peter Johnson
parent
f151892db5
commit
a4e781a231
@@ -16,10 +16,12 @@
|
||||
using namespace hal;
|
||||
|
||||
namespace {
|
||||
|
||||
struct AnalogOutput {
|
||||
uint8_t channel;
|
||||
};
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
static IndexedHandleResource<HAL_AnalogOutputHandle, AnalogOutput,
|
||||
kNumAnalogOutputs, HAL_HandleEnum::AnalogOutput>
|
||||
@@ -103,4 +105,5 @@ double HAL_GetAnalogOutput(HAL_AnalogOutputHandle analogOutputHandle,
|
||||
|
||||
return rawValue * 5.0 / 0x1000;
|
||||
}
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
||||
Reference in New Issue
Block a user