mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
EXTI Stub functions for RP PICO
This commit is contained in:
parent
22206eb01b
commit
4648ca7a85
1 changed files with 49 additions and 0 deletions
49
src/platform/PICO/exti_pico.c
Normal file
49
src/platform/PICO/exti_pico.c
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue