mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 11:38:56 +08:00
clang-tidy: partially fix cppcoreguidelines-pro-type-reinterpret-cast
This commit is contained in:
@@ -140,7 +140,7 @@ TEST_PPM::stop()
|
||||
void
|
||||
TEST_PPM::loops(void *arg)
|
||||
{
|
||||
TEST_PPM *dev = reinterpret_cast<TEST_PPM *>(arg);
|
||||
TEST_PPM *dev = static_cast<TEST_PPM *>(arg);
|
||||
dev->do_out();
|
||||
}
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user