We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2226826 commit 9ed48caCopy full SHA for 9ed48ca
src/lmic/lmic.c
@@ -1889,6 +1889,9 @@ static bit_t buildDataFrame (void) {
1889
LMIC.frame[OFF_DAT_HDR] = HDR_FTYPE_DAUP | HDR_MAJOR_V1;
1890
LMIC.frame[OFF_DAT_FCT] = (LMIC.dnConf | LMIC.adrEnabled
1891
| (sendAdrAckReq() ? FCT_ADRACKReq : 0)
1892
+#if !defined(DISABLE_PING)
1893
+ | ((LMIC.opmode & OP_PINGABLE) ? FCT_CLASSB : 0)
1894
+#endif // ndef DISABLE_PING
1895
| (end-OFF_DAT_OPTS));
1896
os_wlsbf4(LMIC.frame+OFF_DAT_ADDR, LMIC.devaddr);
1897
0 commit comments