Skip to content

Commit 1a86bb3

Browse files
author
Antti Kauppila
committed
Removed default values from internal functions
- Also removed useless else from loraphy_target.h
1 parent db167af commit 1a86bb3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

features/lorawan/lorastack/mac/LoRaMac.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,14 +370,14 @@ class LoRaMac {
370370
*
371371
* @return LORAWAN_STATUS_OK or a negative error code on failure.
372372
*/
373-
lorawan_status_t prepare_join(const lorawan_connect_t *params, bool is_otaa = true);
373+
lorawan_status_t prepare_join(const lorawan_connect_t *params, bool is_otaa);
374374

375375
/**
376376
* @brief join Joins the network.
377377
* @param is_otaa True if joining is to be done using OTAA, false for ABP.
378378
* @return LORAWAN_STATUS_OK or a negative error code on failure.
379379
*/
380-
lorawan_status_t join(bool is_otaa = true);
380+
lorawan_status_t join(bool is_otaa);
381381

382382
private:
383383
/**

features/lorawan/lorastack/phy/loraphy_target.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@
6060
#elif MBED_CONF_LORA_PHY == US915_HYBRID
6161
#include "lorawan/lorastack/phy/LoRaPHYUS915Hybrid.h"
6262
#define LoRaPHY_region LoRaPHYUS915Hybrid
63-
#else
64-
#error "Unsupported region, check your configuration."
6563
#endif //MBED_CONF_LORA_PHY == VALUE
6664
#else
6765
#error "Must set LoRa PHY layer parameters."

0 commit comments

Comments
 (0)