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

PICO: Allow compilation with DEBUG=GDB (add dshot methods).

This commit is contained in:
Matthew Selby 2025-05-13 22:21:35 +01:00
parent 12ca97eacb
commit 17ac3d9895

View file

@ -403,10 +403,26 @@ bool dshotPwmDevInit(motorDevice_t *device, const motorDevConfig_t *motorConfig)
return true; return true;
} }
// TODO do we just undef USE_DSHOT_BITBANG ?
bool isDshotBitbangActive(const motorDevConfig_t *motorDevConfig) bool isDshotBitbangActive(const motorDevConfig_t *motorDevConfig)
{ {
/* DSHOT BIT BANG not required for PICO */ /* DSHOT BIT BANG not required for PICO */
UNUSED(motorDevConfig); UNUSED(motorDevConfig);
return false; return false;
} }
bool dshotBitbangDevInit(motorDevice_t *device, const motorDevConfig_t *motorConfig)
{
// TODO: not required
UNUSED(device);
UNUSED(motorConfig);
return false;
}
dshotBitbangStatus_e dshotBitbangGetStatus(void)
{
// TODO: not required
return 0;
}
#endif // USE_DSHOT #endif // USE_DSHOT