lwgps update

This commit is contained in:
2021-02-28 16:16:22 +01:00
parent 3cff08f644
commit f435238699
2 changed files with 45 additions and 43 deletions

View File

@ -12,7 +12,7 @@
TestTask::TestTask(object_id_t objectId_):
SystemObject(objectId_), testMode(testModes::A) {
SystemObject(objectId_), testMode(testModes::A) {
IPCStore = objectManager->get<StorageManagerIF>(objects::IPC_STORE);
}
@ -96,6 +96,8 @@ void TestTask::performLwgpsTest() {
etl::vector<uint8_t, 30> testVec;
lwgps_t gpsStruct;
sif::info << "Size of GPS struct: " << sizeof(gpsStruct) << std::endl;
lwgps_init(&gpsStruct);
/* Process all input data */
lwgps_process(&gpsStruct, gps_rx_data, strlen(gps_rx_data));