Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Dec 30, 2024
1 parent d4550bd commit 4898c78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions blades/pwm_pin.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ void SetupTimer(uint32_t instance, PWM_USECASE usecase) {
case PWM_USECASE::IR:
case PWM_USECASE::WS2811:
PVLOG_NORMAL << "Fatal error in SetupTimer()";
[[gnu::fallthrough]];
case PWM_USECASE::PWM:
// 813 Hz, 32768 steps
hz = 813;
Expand Down
2 changes: 1 addition & 1 deletion blades/stm32l4_ws2811.h
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ class WS2811EngineSTM32L4 : public WS2811Engine {
TRACE(BLADE, "dma done exit");
}

static void static_kick(void *context) {
static void static_kick(void *context, long unsigned int v) {
WS2811EngineSTM32L4* engine = ((WS2811EngineSTM32L4*)context);
engine->kick();
}
Expand Down

0 comments on commit 4898c78

Please sign in to comment.