Merge pull request #16916 from leandrolanzieri/pr/boards/avr-rss2/remove_module_macro
boards/avr-rss2: properly enable `atmega_pcint0`
This commit is contained in:
commit
5a9c659f5d
@ -1,5 +1,8 @@
|
||||
USEMODULE += boards_common_atmega
|
||||
|
||||
# enable pin change interrupts bank 0
|
||||
USEMODULE += atmega_pcint0
|
||||
|
||||
ifneq (,$(filter eui_provider,$(USEMODULE)))
|
||||
USEMODULE += at24mac
|
||||
endif
|
||||
|
||||
@ -103,7 +103,6 @@ extern "C" {
|
||||
* @name User button configuration
|
||||
* @{
|
||||
*/
|
||||
#define MODULE_ATMEGA_PCINT0
|
||||
#define BTN0_PIN GPIO_PIN(PORT_B, 0)
|
||||
#define BTN0_MODE GPIO_IN
|
||||
/** @} */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user