PLANET-Q ES920LR Library
Dependents: IZU2020_GROUND_STATION IZU2020_AVIONICS IZU2020_AVIONICS
Diff: PQES920LR.cpp
- Revision:
- 1:a5114a32febe
- Parent:
- 0:064d3711be83
diff -r 064d3711be83 -r a5114a32febe PQES920LR.cpp --- a/PQES920LR.cpp Tue Dec 17 09:06:01 2019 +0000 +++ b/PQES920LR.cpp Tue Dec 17 14:03:03 2019 +0000 @@ -5,7 +5,7 @@ { _serial = &serial; _serial->attach(callback(this, &ES920LR::receive), Serial::RxIrq); - memset(tx_buf, '\0', 52); + memset(tx_buf, '\0', 52); memset(rx_buf, '\0', 52); index = 0; flag = 0; @@ -25,7 +25,7 @@ for (int i = 0; i < 1 + size; i++) { _serial->putc(tx_buf[i]); } - + flag = 0; response = true; }