Skip to content
Snippets Groups Projects
Commit d493cafc authored by Giuliano Zaro's avatar Giuliano Zaro Committed by Scott Lahteine
Browse files

Fix a memset pointer cast (#14823)

parent 4e58f938
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ void initISR(timer16_Sequence_t timer) {
SYNC(tc->COUNT16.SYNCBUSY.bit.CTRLB);
// Reset all servo indexes
memset(currentServoIndex, 0xFF, sizeof(currentServoIndex));
memset((void *)currentServoIndex, 0xFF, sizeof(currentServoIndex));
// Configure interrupt request
NVIC_ClearPendingIRQ(SERVO_IRQn);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment