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:
parent
12ca97eacb
commit
17ac3d9895
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue