Skip to content

Commit

Permalink
Merge pull request #148 from wangxiangwangeuse/master
Browse files Browse the repository at this point in the history
fixed some bugs
  • Loading branch information
wangxiangwangeuse authored May 8, 2024
2 parents 3dd5262 + 97b88b7 commit 549b403
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 123 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,28 +349,17 @@ void loop()
VextOFF();
Radio.Sleep();
SPI.end();
Serial.printf("1");
pinMode(RADIO_DIO_1, ANALOG);
digitalWrite(RADIO_NSS, HIGH);
gpio_hold_en((gpio_num_t)RADIO_NSS);
// pinMode(RADIO_NSS, ANALOG);
// digitalWrite(RADIO_NSS, HIGH);
// gpio_hold_en((gpio_num_t)RADIO_NSS);
pinMode(RADIO_NSS, ANALOG);
digitalWrite(RADIO_NSS, HIGH);

pinMode(RADIO_RESET, ANALOG);
pinMode(RADIO_BUSY, ANALOG);
pinMode(LORA_CLK, ANALOG);
pinMode(LORA_MISO, ANALOG);
pinMode(LORA_MOSI, ANALOG);
// pinMode(2, ANALOG);
// pinMode(3, ANALOG);
// pinMode(4, ANALOG);
// pinMode(5, ANALOG);
// pinMode(6, ANALOG);
// pinMode(7, ANALOG);
// pinMode(43, ANALOG);
// pinMode(44, ANALOG);
// pinMode(47, ANALOG);
// pinMode(48, ANALOG);

esp_sleep_enable_timer_wakeup(600 * 1000 * (uint64_t)1000);
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,29 +166,8 @@ int i=0;
pix ^= 0x0F;

i++;
/* Convert rgb color to gray scale
memcpy(rgb_color, src, 3);
src += 3;
gs_clr = (GS_FACT_R * rgb_color[0]) + (GS_FACT_G * rgb_color[1]) + (GS_FACT_B * rgb_color[2]);
if (gs_clr > 255) gs_clr = 255;
// Use only 4 bits & invert
//pix = ((uint8_t)gs_clr >> 4) ^ 0x0F;
pix = (uint8_t)gs_clr;
// Using gray scale lookup table
last_lvl = 0;
i = 0;
for (i=0; i<16; i++) {
if ((pix > last_lvl) && (pix <= lvl_buf_jpg[i])) {
pix = 15 - i;
last_lvl = lvl_buf[i];
break;
}
last_lvl = lvl_buf[i];
}
*/

get_buff[i] = pix;
// gs_used_shades |= (1 << pix);
}
else src += 3; // skip
}
Expand Down Expand Up @@ -406,28 +385,18 @@ void loop()
VextOFF();
Radio.Sleep();
SPI.end();
Serial.printf("1");
pinMode(RADIO_DIO_1, ANALOG);
digitalWrite(RADIO_NSS, HIGH);
gpio_hold_en((gpio_num_t)RADIO_NSS);
// pinMode(RADIO_NSS, ANALOG);
// digitalWrite(RADIO_NSS, HIGH);
// gpio_hold_en((gpio_num_t)RADIO_NSS);
pinMode(RADIO_NSS, ANALOG);
digitalWrite(RADIO_NSS, HIGH);

pinMode(RADIO_RESET, ANALOG);
pinMode(RADIO_BUSY, ANALOG);
pinMode(LORA_CLK, ANALOG);
pinMode(LORA_MISO, ANALOG);
pinMode(LORA_MOSI, ANALOG);
// pinMode(2, ANALOG);
// pinMode(3, ANALOG);
// pinMode(4, ANALOG);
// pinMode(5, ANALOG);
// pinMode(6, ANALOG);
// pinMode(7, ANALOG);
// pinMode(43, ANALOG);
// pinMode(44, ANALOG);
// pinMode(47, ANALOG);
// pinMode(48, ANALOG);


esp_sleep_enable_timer_wakeup(600 * 1000 * (uint64_t)1000);
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF);
Expand Down
5 changes: 1 addition & 4 deletions src/LoRaWan_APP.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)


#include <LoRaWan_APP.h>
Expand Down
5 changes: 0 additions & 5 deletions src/driver/board-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
* \author Johannes Bruder ( STACKFORCE )
*/

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)

#ifndef __BOARD_CONFIG_H__
#define __BOARD_CONFIG_H__
Expand Down Expand Up @@ -101,4 +97,3 @@


#endif // __BOARD_CONFIG_H__
#endif
5 changes: 1 addition & 4 deletions src/driver/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ Maintainer: Miguel Luis and Gregory Cristian



#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)

#include "../driver/board.h"
#include "Arduino.h"
Expand Down
5 changes: 1 addition & 4 deletions src/driver/gpio-board.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@
*
* \author Gregory Cristian ( Semtech )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)


#include "../loramac/utilities.h"
Expand Down
5 changes: 1 addition & 4 deletions src/driver/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@
*
* \author Gregory Cristian ( Semtech )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)

#include "../driver/gpio-board.h"

Expand Down
2 changes: 1 addition & 1 deletion src/driver/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
/* Includes ------------------------------------------------------------------*/

#include <stdbool.h>
#if defined(WIFI_LORA_32_V3)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)

#include "../loramac/utilities.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/loramac/LoRaMac.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/

#if defined(WIFI_LORA_32_V3)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)

#include <stdbool.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion src/loramac/region/Region.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)


#include <stdbool.h>
Expand Down
6 changes: 2 additions & 4 deletions src/loramac/region/RegionAS923.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)

#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down
6 changes: 1 addition & 5 deletions src/loramac/region/RegionAU915.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down
6 changes: 1 addition & 5 deletions src/loramac/region/RegionCN470.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down
5 changes: 1 addition & 4 deletions src/loramac/region/RegionCN779.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)

#include <stdbool.h>
#include <string.h>
Expand Down
6 changes: 1 addition & 5 deletions src/loramac/region/RegionEU433.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down
6 changes: 1 addition & 5 deletions src/loramac/region/RegionEU868.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down
6 changes: 1 addition & 5 deletions src/loramac/region/RegionIN865.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down
6 changes: 1 addition & 5 deletions src/loramac/region/RegionKR920.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down
6 changes: 1 addition & 5 deletions src/loramac/region/RegionUS915-Hybrid.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/
#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down
7 changes: 1 addition & 6 deletions src/loramac/region/RegionUS915.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
Maintainer: Miguel Luis ( Semtech ), Gregory Cristian ( Semtech ) and Daniel Jaeckle ( STACKFORCE )
*/

#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIFI_LORA_32)\
||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)\
||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)||defined(WIRELESS_BRIDGE)\
||defined(WIRELESS_MINI_SHELL)||defined(Wireless_Stick)


#if defined(WIFI_LORA_32_V3)||defined(WIFI_LORA_32_V2)||defined(WIRELESS_TRACKER)||defined(WIRELESS_STICK_V3)||defined(WIRELESS_STICK_LITE_V3)||defined(WIRELESS_PAPER)||defined(CAPSULE_SENSOR_V3)||defined(WIRELESS_SHELL_V3)
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
Expand Down

0 comments on commit 549b403

Please sign in to comment.