mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-24 20:06:37 +00:00
fix: fix typos in source code comments
This commit is contained in:
+2
-2
@@ -212,12 +212,12 @@ public:
|
|||||||
void sendDirect(Packet* packet, const uint8_t* path, uint8_t path_len, uint32_t delay_millis=0);
|
void sendDirect(Packet* packet, const uint8_t* path, uint8_t path_len, uint32_t delay_millis=0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief send a locally-generated Packet to just neigbor nodes (zero hops)
|
* \brief send a locally-generated Packet to just neighbor nodes (zero hops)
|
||||||
*/
|
*/
|
||||||
void sendZeroHop(Packet* packet, uint32_t delay_millis=0);
|
void sendZeroHop(Packet* packet, uint32_t delay_millis=0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief send a locally-generated Packet to just neigbor nodes (zero hops), with specific transort codes
|
* \brief send a locally-generated Packet to just neighbor nodes (zero hops), with specific transport codes
|
||||||
* \param transport_codes array of 2 codes to attach to packet
|
* \param transport_codes array of 2 codes to attach to packet
|
||||||
*/
|
*/
|
||||||
void sendZeroHop(Packet* packet, uint16_t* transport_codes, uint32_t delay_millis=0);
|
void sendZeroHop(Packet* packet, uint16_t* transport_codes, uint32_t delay_millis=0);
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ public:
|
|||||||
case LPP_GPS:
|
case LPP_GPS:
|
||||||
_pos += 9; break;
|
_pos += 9; break;
|
||||||
case LPP_POLYLINE:
|
case LPP_POLYLINE:
|
||||||
_pos += 8; break; // TODO: this is MINIMIUM
|
_pos += 8; break; // TODO: this is MINIMUM
|
||||||
case LPP_GYROMETER:
|
case LPP_GYROMETER:
|
||||||
case LPP_ACCELEROMETER:
|
case LPP_ACCELEROMETER:
|
||||||
_pos += 6; break;
|
_pos += 6; break;
|
||||||
|
|||||||
Reference in New Issue
Block a user