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:
benpicco 2021-09-30 17:03:11 +02:00 committed by GitHub
commit 5a9c659f5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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
/** @} */