1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

boards/sensebox_samd21: remove DIOMULTI from pin configuration

This commit is contained in:
Jose Alamos 2019-07-04 14:24:29 +02:00
parent d94d587e5e
commit c5dab7e615
2 changed files with 4 additions and 6 deletions

View File

@ -21,7 +21,5 @@ else
include $(RIOTMAKE)/tools/bossa.inc.mk
endif
CFLAGS += -DSX127X_USE_DIO_MULTI
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep

View File

@ -121,7 +121,9 @@ extern "C" {
* @name SX127X
*
* SX127X configuration (on XBEE1 port). This particular board has
* merged DIO0 and DIO1 interupt pins into one (defined as DIOMULTI).
* merged DIO0 and DIO1 interrupt pins into one. The driver will always
* check the interrupt type in the ISR handler, so it's enough to set
* the DIO0 pin in order to handle both DIO0 and DIO1.
* @{
*/
#define SX127X_PARAM_SPI (SPI_DEV(0))
@ -130,7 +132,7 @@ extern "C" {
#define SX127X_PARAM_RESET GPIO_UNDEF
#define SX127X_PARAM_DIO0 GPIO_UNDEF
#define SX127X_PARAM_DIO0 XBEE1_INT_PIN /* D24 */
#define SX127X_PARAM_DIO1 GPIO_UNDEF
@ -138,8 +140,6 @@ extern "C" {
#define SX127X_PARAM_DIO3 GPIO_UNDEF
#define SX127X_PARAM_DIO_MULTI XBEE1_INT_PIN /* D24 */
#define SX127X_PARAM_PASELECT (SX127X_PA_BOOST)
/** @} */