Browse Source

fix: fix typos in source code comments

pull/2639/head
Sefinek 2 weeks ago
parent
commit
4bf391f5c3
  1. 4
      src/Mesh.h
  2. 2
      src/helpers/sensors/LPPDataHelpers.h

4
src/Mesh.h

@ -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);

2
src/helpers/sensors/LPPDataHelpers.h

@ -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;

Loading…
Cancel
Save