Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial FatFileSystemCpp mbed
Diff: FIZReader.cpp
- Revision:
- 6:61274e214f46
- Parent:
- 5:7994913a15fe
- Child:
- 8:961bb15570a1
--- a/FIZReader.cpp Mon Feb 01 17:29:57 2021 +0000 +++ b/FIZReader.cpp Tue Feb 09 16:55:52 2021 +0000 @@ -1,5 +1,5 @@ #include "FIZReader.h" - +#include "LTCApp.h" FIZReader::FIZReader(const PinName Tx, const PinName Rx) : _port(Tx,Rx) { _port.baud(115200); @@ -37,7 +37,6 @@ void FIZReader::OnRx(void) { - while (_port.readable()) { inputBuffer[inputPtr] = _port.getc(); if (inputPtr==0) { if (inputBuffer[inputPtr] == 0x02) @@ -50,7 +49,6 @@ if (inputPtr == InBufferSize) inputPtr = 0; } - } } void FIZReader::parsePacket()