mirror of https://github.com/arendst/Tasmota.git
update changelogs
This commit is contained in:
parent
54b1a94379
commit
715ca102c7
|
@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Berry `path.rename()` (#20840)
|
||||
|
||||
### Breaking Changed
|
||||
- Drop support for old (insecure) fingerprint format
|
||||
- Drop support for old (insecure) fingerprint format (#20842)
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -130,6 +130,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
|||
- LVGL and HASPmota typicons font [#20742](https://github.com/arendst/Tasmota/issues/20742)
|
||||
|
||||
### Breaking Changed
|
||||
- Drop support for old (insecure) fingerprint format [#20842](https://github.com/arendst/Tasmota/issues/20842)
|
||||
|
||||
### Changed
|
||||
- ESP32 Core3 platform update from 2024.01.12 to 2024.02.10 [#20730](https://github.com/arendst/Tasmota/issues/20730)
|
||||
|
|
|
@ -46,6 +46,9 @@ void LoraOnCadDoneSx127x(boolean signalDetected) {
|
|||
|
||||
// this function is called when a complete packet is received by the module
|
||||
void LoraOnReceiveSx127x(int packet_size) {
|
||||
#ifdef USE_LORA_DEBUG
|
||||
AddLog(LOG_LEVEL_DEBUG, PSTR("LOR: Packet size %d"), packet_size);
|
||||
#endif
|
||||
if (0 == packet_size) { return; } // if there's no packet, return
|
||||
if (!Lora.enableInterrupt) { return; } // check if the interrupt is enabled
|
||||
Lora.packet_size = packet_size; // we got a packet, set the flag
|
||||
|
@ -65,9 +68,9 @@ int LoraReceiveSx127x(char* data) {
|
|||
data[packet_size++] = sdata;
|
||||
}
|
||||
}
|
||||
packet_size = (Lora.sendFlag) ? 0 : +1;
|
||||
// if (Lora.sendFlag) { packet_size = 0; }
|
||||
// Lora.sendFlag = false;
|
||||
|
||||
Lora.sendFlag = false;
|
||||
Lora.packet_size = 0; // reset flag
|
||||
Lora.enableInterrupt = true; // we're ready to receive more packets, enable interrupt service routine
|
||||
|
||||
|
@ -80,7 +83,7 @@ int LoraReceiveSx127x(char* data) {
|
|||
}
|
||||
|
||||
bool LoraSendSx127x(char* data, uint32_t len) {
|
||||
Lora.sendFlag = true;
|
||||
// Lora.sendFlag = true;
|
||||
LoRa.beginPacket(Lora.implicit_header); // start packet
|
||||
LoRa.write((uint8_t*)data, len); // send message
|
||||
LoRa.endPacket(); // finish packet and send it
|
||||
|
|
Loading…
Reference in New Issue