contain lorawan with serial_rx enabled

Dependencies:   pulga-lorawan-drv SPI_MX25R Si1133 BME280

Revision:
65:4090220e19d2
Parent:
64:ed68ddac6360
diff -r ed68ddac6360 -r 4090220e19d2 lora_radio.cpp
--- a/lora_radio.cpp	Tue Mar 02 16:57:31 2021 +0000
+++ b/lora_radio.cpp	Tue Mar 02 18:22:16 2021 +0000
@@ -81,22 +81,9 @@
 int lora_send_message(uint8_t *msg_to_transmit, uint16_t packet_len)
 {
     int16_t retcode;
-    int32_t sensor_value;
     
     retcode = lorawan.send(MBED_CONF_LORA_APP_PORT, msg_to_transmit, packet_len,MSG_UNCONFIRMED_FLAG);
 
-    if (retcode < 0) {
-        /*retcode == LORAWAN_STATUS_WOULD_BLOCK ? PrintDebugMsg("send - WOULD BLOCK\r\n")
-        : PrintDebugMsg("\r\n send() Error  \r\n");
-        */
-        /*if (retcode == LORAWAN_STATUS_WOULD_BLOCK) {
-            //retry in 3 seconds
-            if (MBED_CONF_LORA_DUTY_CYCLE_ON) {
-                ev_queue.call_in(10000, send_message);
-            }
-        }*/
-        
-    }
     return (int)retcode;
 }