diff --git a/src/platform/PICO/exti_pico.c b/src/platform/PICO/exti_pico.c new file mode 100644 index 0000000000..54be2ba5f9 --- /dev/null +++ b/src/platform/PICO/exti_pico.c @@ -0,0 +1,49 @@ +/* + * This file is part of Betaflight. + * + * Betaflight is free software. You can redistribute this software + * and/or modify this software under the terms of the GNU General + * Public License as published by the Free Software Foundation, + * either version 3 of the License, or (at your option) any later + * version. + * + * Betaflight is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this software. + * + * If not, see . + */ + +#include "drivers/exti.h" +#include "common/utils.h" + +void EXTIConfig(IO_t io, extiCallbackRec_t *cb, int irqPriority, ioConfig_t config, extiTrigger_t trigger) +{ + UNUSED(io); + UNUSED(cb); + UNUSED(irqPriority); + UNUSED(config); + UNUSED(trigger); +} + +void EXTIInit(void) +{ + //TODO: implement + // NOOP +} + +void EXTIHandlerInit(extiCallbackRec_t *self, extiHandlerCallback *fn) +{ + self->fn = fn; +} + +void EXTIEnable(IO_t io) +{ + //TODO: implement + UNUSED(io); +}