mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 12:57:27 +08:00
Fix compile warnings make all_confs on v6.4 (#3277)
* DSHOT errors * Fix extra variable
This commit is contained in:
committed by
GitHub
parent
9341cf0b12
commit
5e9e61e499
@@ -394,7 +394,7 @@ static uint32_t processErpsDmaBuffer(const uint16_t *capture, size_t dmaLen)
|
||||
* @note does nothing if DSHOT_STATISTICS == FALSE
|
||||
* @private
|
||||
*/
|
||||
static void dmaErrCb(DMADriver *, dmaerrormask_t em)
|
||||
static void dmaErrCb(DMADriver *dmad __attribute__((__unused__)), dmaerrormask_t em)
|
||||
{
|
||||
#if DSHOT_STATISTICS
|
||||
lastErr = em;
|
||||
|
||||
Reference in New Issue
Block a user