Eigen
Dependencies: Vector3
Dependents: optWingforHAPS_Eigen hexaTest_Eigen
Diff: GPSUBX_UART.cpp
- Revision:
- 14:1ed344c662d2
- Parent:
- 13:facd8e54f2eb
- Child:
- 15:e77382079cd9
--- a/GPSUBX_UART.cpp Fri Nov 12 06:11:39 2021 +0000 +++ b/GPSUBX_UART.cpp Fri Nov 12 06:47:48 2021 +0000 @@ -123,10 +123,10 @@ STATUS status; for (int i = 0; i < STATUS_LEN; i++) { - relposned.byte_data[i] = buffer[i+6]; + status.byte_data[i] = buffer[i+6]; } - iTOW_RELPOSNED = status.data.iTOW; - gpsFix = satus.data.gpsFix; + iTOW_STATUS = status.data.iTOW; + gpsFix = status.data.gpsFix; } // TIMEUTC else if (mc == 0x01 && mi == 0x21)