clang-tidy: partially fix cppcoreguidelines-pro-type-reinterpret-cast

This commit is contained in:
Daniel Agar
2019-10-28 10:50:31 -04:00
parent f5945d1185
commit 4192414576
16 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ BMI088_gyro::Run()
void
BMI088_gyro::measure_trampoline(void *arg)
{
BMI088_gyro *dev = reinterpret_cast<BMI088_gyro *>(arg);
BMI088_gyro *dev = static_cast<BMI088_gyro *>(arg);
/* make another measurement */
dev->measure();