Browse Source

Merge branch 'dev'

pull/221/head companion-v1.5.1
Scott Powell 1 year ago
parent
commit
76847a7756
  1. 4
      examples/companion_radio/main.cpp
  2. 2
      examples/simple_repeater/main.cpp
  3. 2
      examples/simple_room_server/main.cpp

4
examples/companion_radio/main.cpp

@ -95,7 +95,7 @@ static uint32_t _atoi(const char* sp) {
#endif
#ifndef FIRMWARE_VERSION
#define FIRMWARE_VERSION "v1.5.0"
#define FIRMWARE_VERSION "v1.5.1"
#endif
#define CMD_APP_START 1
@ -1122,6 +1122,8 @@ public:
// export SELF
auto pkt = createSelfAdvert(_prefs.node_name, _prefs.node_lat, _prefs.node_lon);
if (pkt) {
pkt->header |= ROUTE_TYPE_FLOOD; // would normally be sent in this mode
out_frame[0] = RESP_CODE_EXPORT_CONTACT;
uint8_t out_len = pkt->writeTo(&out_frame[1]);
releasePacket(pkt); // undo the obtainNewPacket()

2
examples/simple_repeater/main.cpp

@ -24,7 +24,7 @@
#endif
#ifndef FIRMWARE_VERSION
#define FIRMWARE_VERSION "v1.5.0"
#define FIRMWARE_VERSION "v1.5.1"
#endif
#ifndef LORA_FREQ

2
examples/simple_room_server/main.cpp

@ -24,7 +24,7 @@
#endif
#ifndef FIRMWARE_VERSION
#define FIRMWARE_VERSION "v1.5.0"
#define FIRMWARE_VERSION "v1.5.1"
#endif
#ifndef LORA_FREQ

Loading…
Cancel
Save