Skip to content

Commit

Permalink
Remove duplicated marco.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anol Paisal committed Mar 12, 2022
1 parent 484a8bd commit f81b8da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/boards/SKiM980A/board-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ extern "C"
#define RADIO_DBG_PIN_RX NC

#define IO1 PA_8
#define IO2 PA_3 //NFC:PA_1 //NON-NFC:PA_3 //iMS62F:PB_7
#define IO2 PA_1 //NFC:PA_1 //NON-NFC:PA_3 //iMS62F:PB_7

#define WKUP PA_0

Expand Down
2 changes: 1 addition & 1 deletion src/boards/SKiM980A/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ uint8_t BoardGetPotiLevel( void )
uint16_t vpoti = 0;

// Read the current potentiometer setting
vpoti = AdcReadChannel( &Adc , ADC_CHANNEL_3 );
vpoti = AdcReadChannel( &Adc , ADC_CHANNEL_1 );

// check the limits
if( vpoti >= POTI_MAX_LEVEL )
Expand Down
20 changes: 1 addition & 19 deletions src/mac/region/RegionAS923.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,6 @@ extern "C"
#include "region/Region.h"


/*!
* Channel plan group AS923-1
* AS923_FREQ_OFFSET = 0
*/
#define CHANNEL_PLAN_GROUP_AS923_1 1

/*!
* Channel plan group AS923-2
* AS923_FREQ_OFFSET = -1.8MHz
*/
#define CHANNEL_PLAN_GROUP_AS923_2 2

/*!
* Channel plan group AS923-3
* AS923_FREQ_OFFSET = -6.6MHz
*/
#define CHANNEL_PLAN_GROUP_AS923_3 3

/*!
* Channel plan group AS923-1
* AS923_FREQ_OFFSET = 0
Expand Down Expand Up @@ -161,7 +143,7 @@ extern "C"
/*!
* Default uplink dwell time configuration
*/
#define AS923_DEFAULT_UPLINK_DWELL_TIME 1
#define AS923_DEFAULT_UPLINK_DWELL_TIME 0

/*!
* Default Max EIRP
Expand Down

0 comments on commit f81b8da

Please sign in to comment.