Fix compile warnings make all_confs on v6.4 (#3277)

* DSHOT errors

* Fix extra variable
This commit is contained in:
Christophe De Wagter
2024-05-24 15:33:27 +02:00
committed by GitHub
parent 9341cf0b12
commit 5e9e61e499
4 changed files with 4 additions and 4 deletions
@@ -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;