@@ -1706,10 +1706,6 @@ boolean SFE_UBLOX_GPS::setPortInput(uint8_t portID, uint8_t inStreamSettings, ui
1706
1706
if (getPortSettings (portID, maxWait) == false )
1707
1707
return (false ); // Something went wrong. Bail.
1708
1708
1709
- // Let's make sure we wait for the ACK too (sendCommand will have returned as soon as the module sent its response)
1710
- // This is only required because we are doing two sendCommands in quick succession using the same class and ID
1711
- // waitForResponse(UBX_CLASS_CFG, UBX_CFG_PRT, 100); // But we'll only wait for 100msec max
1712
-
1713
1709
packetCfg.cls = UBX_CLASS_CFG;
1714
1710
packetCfg.id = UBX_CFG_PRT;
1715
1711
packetCfg.len = 20 ;
@@ -2085,10 +2081,6 @@ boolean SFE_UBLOX_GPS::powerSaveMode(bool power_save, uint16_t maxWait)
2085
2081
if (sendCommand (packetCfg, maxWait) == false ) // Ask module for the current power management settings. Loads into payloadCfg.
2086
2082
return (false );
2087
2083
2088
- // Let's make sure we wait for the ACK too (sendCommand will have returned as soon as the module sent its response)
2089
- // This is only required because we are doing two sendCommands in quick succession using the same class and ID
2090
- // waitForResponse(UBX_CLASS_CFG, UBX_CFG_RXM, 100); // But we'll only wait for 100msec max
2091
-
2092
2084
if (power_save)
2093
2085
{
2094
2086
payloadCfg[1 ] = 1 ; // Power Save Mode
@@ -2120,10 +2112,6 @@ boolean SFE_UBLOX_GPS::setDynamicModel(dynModel newDynamicModel, uint16_t maxWai
2120
2112
if (sendCommand (packetCfg, maxWait) == false ) // Ask module for the current navigation model settings. Loads into payloadCfg.
2121
2113
return (false );
2122
2114
2123
- // Let's make sure we wait for the ACK too (sendCommand will have returned as soon as the module sent its response)
2124
- // This is only required because we are doing two sendCommands in quick succession using the same class and ID
2125
- // waitForResponse(UBX_CLASS_CFG, UBX_CFG_NAV5, 100); // But we'll only wait for 100msec max
2126
-
2127
2115
payloadCfg[0 ] = 0x01 ; // mask: set only the dyn bit (0)
2128
2116
payloadCfg[1 ] = 0x00 ; // mask
2129
2117
payloadCfg[2 ] = newDynamicModel; // dynModel
0 commit comments