mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Function was made public in e126f1 for SPI case but seems unused outside the module. Make it static for all preprocessor cases and remove declaration.
This commit is contained in:
parent
2821cdab3a
commit
723cfe0da7
2 changed files with 1 additions and 2 deletions
|
@ -133,7 +133,7 @@ busStatus_e mpuIntCallback(uint32_t arg)
|
|||
return BUS_READY;
|
||||
}
|
||||
|
||||
void mpuIntExtiHandler(extiCallbackRec_t *cb)
|
||||
static void mpuIntExtiHandler(extiCallbackRec_t *cb)
|
||||
{
|
||||
gyroDev_t *gyro = container_of(cb, gyroDev_t, exti);
|
||||
|
||||
|
|
|
@ -233,4 +233,3 @@ bool mpuAccRead(struct accDev_s *acc);
|
|||
bool mpuAccReadSPI(struct accDev_s *acc);
|
||||
|
||||
busStatus_e mpuIntCallback(uint32_t arg);
|
||||
void mpuIntExtiHandler(extiCallbackRec_t *cb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue