Skip to content
Snippets Groups Projects
Commit 2a470d1b authored by Luca Erbetta's avatar Luca Erbetta :rocket:
Browse files

[L3GD20] Added braces

parent 8de5fa4e
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,9 @@ void __attribute__((used)) EXTI2_IRQHandlerImpl() ...@@ -95,7 +95,9 @@ void __attribute__((used)) EXTI2_IRQHandlerImpl()
last_watermark_tick = tick; last_watermark_tick = tick;
// Pass tick microseconds to sensor // Pass tick microseconds to sensor
if (gyro != nullptr) if (gyro != nullptr)
{
gyro->IRQupdateTimestamp(hrclock.toIntMicroSeconds(tick)); gyro->IRQupdateTimestamp(hrclock.toIntMicroSeconds(tick));
}
EXTI->PR |= EXTI_PR_PR2; // Reset pending register EXTI->PR |= EXTI_PR_PR2; // Reset pending register
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment