mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
fix some whitespace
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
uint32_t ticks_to_a2r(uint32_t ticks) {
|
uint32_t ticks_to_a2r(uint32_t ticks) {
|
||||||
return ticks * NS_PER_TICK / A2R_NS_PER_TICK;
|
return ticks * NS_PER_TICK / A2R_NS_PER_TICK;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool singlesided(void) {
|
bool singlesided(void) {
|
||||||
@@ -109,14 +109,14 @@ private:
|
|||||||
unsigned location = cylinder * 2 + head;
|
unsigned location = cylinder * 2 + head;
|
||||||
|
|
||||||
if(!fluxmap.bytes()) {
|
if(!fluxmap.bytes()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (location > 255) {
|
if (location > 255) {
|
||||||
Error() << fmt::format("A2R: cannot write track {} head {}, "
|
Error() << fmt::format("A2R: cannot write track {} head {}, "
|
||||||
"{} does not fit within the location field\n",
|
"{} does not fit within the location field\n",
|
||||||
cylinder, head, location);
|
cylinder, head, location);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -211,7 +211,7 @@ private:
|
|||||||
|
|
||||||
std::unique_ptr<FluxSink> FluxSink::createA2RFluxSink(const A2RFluxSinkProto& config)
|
std::unique_ptr<FluxSink> FluxSink::createA2RFluxSink(const A2RFluxSinkProto& config)
|
||||||
{
|
{
|
||||||
return std::unique_ptr<FluxSink>(new A2RFluxSink(config));
|
return std::unique_ptr<FluxSink>(new A2RFluxSink(config));
|
||||||
}
|
}
|
||||||
|
|
||||||
const uint8_t a2r2_fileheader[] = {'A', '2', 'R', '2', 0xff, 0x0a, 0x0d, 0x0a };
|
const uint8_t a2r2_fileheader[] = {'A', '2', 'R', '2', 0xff, 0x0a, 0x0d, 0x0a };
|
||||||
|
|||||||
Reference in New Issue
Block a user