Skip to content

Commit d9d6f9f

Browse files
committed
Cleanup before merge
1 parent b6e7a4b commit d9d6f9f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/main/io/gps_ublox.c

+2-5
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,15 @@ static uint8_t gpsMapFixType(bool fixValid, uint8_t ubloxFixType)
214214

215215
bool gpsUbloxSendCommand(uint8_t *rawCommand, uint16_t commandLen, uint16_t timeout)
216216
{
217+
UNUSED(timeout);
218+
217219
serialWriteBuf(gpsState.gpsPort, rawCommand, commandLen);
218220

219221
union send_buffer_t *sb = (union send_buffer_t *)(rawCommand);
220222

221223
_ack_waiting_msg = sb->message.header.msg_id;
222224
_ack_state = UBX_ACK_WAITING;
223225

224-
UNUSED(timeout);
225-
//if (timeout > 0) {
226-
// ptWait(_ack_state == UBX_ACK_GOT_ACK);
227-
//}
228-
229226
return true;
230227
}
231228

src/main/msp/msp_protocol_v2_inav.h

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
#define MSP2_INAV_SET_FW_APPROACH 0x204B
9898

9999
#define MSP2_INAV_GPS_UBLOX_COMMAND 0x2050
100-
#define MSP2_INAV_GPS_UBLOX_COMMAND_RESULT 0x2051
101100

102101
#define MSP2_INAV_RATE_DYNAMICS 0x2060
103102
#define MSP2_INAV_SET_RATE_DYNAMICS 0x2061

0 commit comments

Comments
 (0)