Removed default values from internal functions

- Also removed useless else from loraphy_target.h
pull/6566/head
Antti Kauppila 2018-04-09 13:30:08 +03:00
parent db167af3c1
commit 1a86bb3604
2 changed files with 2 additions and 4 deletions

View File

@ -370,14 +370,14 @@ public:
*
* @return LORAWAN_STATUS_OK or a negative error code on failure.
*/
lorawan_status_t prepare_join(const lorawan_connect_t *params, bool is_otaa = true);
lorawan_status_t prepare_join(const lorawan_connect_t *params, bool is_otaa);
/**
* @brief join Joins the network.
* @param is_otaa True if joining is to be done using OTAA, false for ABP.
* @return LORAWAN_STATUS_OK or a negative error code on failure.
*/
lorawan_status_t join(bool is_otaa = true);
lorawan_status_t join(bool is_otaa);
private:
/**

View File

@ -60,8 +60,6 @@
#elif MBED_CONF_LORA_PHY == US915_HYBRID
#include "lorawan/lorastack/phy/LoRaPHYUS915Hybrid.h"
#define LoRaPHY_region LoRaPHYUS915Hybrid
#else
#error "Unsupported region, check your configuration."
#endif //MBED_CONF_LORA_PHY == VALUE
#else
#error "Must set LoRa PHY layer parameters."