1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00

make mpuIntExtiHandler() static (#13520) (#13549)

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:
David Pinho 2024-04-20 14:22:30 +01:00 committed by GitHub
parent 2821cdab3a
commit 723cfe0da7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

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

View file

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