1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 11:59:58 +03:00

EXTI Stub functions for RP PICO

This commit is contained in:
blckmn 2025-01-09 04:08:57 +11:00
parent 22206eb01b
commit 4648ca7a85

View file

@ -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 <http://www.gnu.org/licenses/>.
*/
#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);
}