fix: fix typos in source code comments

This commit is contained in:
Sefinek
2026-05-28 16:38:39 +02:00
parent 00d445a269
commit 4bf391f5c3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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);
+1 -1
View File
@@ -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;