[SX126x] Update doc of SX126x::getPacketLength (#1611)

Add a note that the update parameter is not used for SX126x modules
pull/1621/head
Chris Leishman 2025-09-22 10:37:59 -07:00 zatwierdzone przez GitHub
rodzic 2a2f6e0edf
commit aeac7566dc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -545,14 +545,14 @@ class SX126x: public PhysicalLayer {
/*!
\brief Query modem for the packet length of received payload.
\param update Update received packet length. Will return cached value when set to false.
\param update Not used for SX126x modules.
\returns Length of last received packet in bytes.
*/
size_t getPacketLength(bool update = true) override;
/*!
\brief Query modem for the packet length of received payload and Rx buffer offset.
\param update Update received packet length. Will return cached value when set to false.
\param update Not used for SX126x modules.
\param offset Pointer to variable to store the Rx buffer offset.
\returns Length of last received packet in bytes.
*/