diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-11-09 00:40:30 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-11-09 00:40:30 +0300 |
commit | 27840753979b35ceaf86570cc8a1e4eb614d1bc6 (patch) | |
tree | 6697ac3660e9b209fa554e02286eb8de2de61783 /src/Accelerometers/Accelerometers.cpp | |
parent | ef70ae2a82e78a0662c22bf29e2d1f9a03f35703 (diff) |
Fixes for static analysis
Diffstat (limited to 'src/Accelerometers/Accelerometers.cpp')
-rw-r--r-- | src/Accelerometers/Accelerometers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Accelerometers/Accelerometers.cpp b/src/Accelerometers/Accelerometers.cpp index 7548ae5a..949937b4 100644 --- a/src/Accelerometers/Accelerometers.cpp +++ b/src/Accelerometers/Accelerometers.cpp @@ -605,7 +605,7 @@ void Accelerometers::ProcessReceivedData(CanAddress src, const CanMessageAcceler if (msg.lastPacket) { String<StringLength50> temp; - temp.printf("Rate %u, overflows %u\n", msg.actualSampleRate, numRemoteOverflows); + temp.printf("Rate %u, overflows %u\n", (unsigned int)msg.actualSampleRate, numRemoteOverflows); f->Write(temp.c_str()); f->Truncate(); // truncate the file in case we didn't write all the preallocated space f->Close(); |