mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 22:32:11 +08:00
arm_auth: make type passed to param_get() explicit
This commit is contained in:
@@ -181,7 +181,7 @@ uint8_t arm_auth_check()
|
||||
|
||||
void arm_auth_update(hrt_abstime now)
|
||||
{
|
||||
param_get(param_arm_parameters, &arm_parameters);
|
||||
param_get(param_arm_parameters, (int32_t*)&arm_parameters);
|
||||
|
||||
switch (state) {
|
||||
case ARM_AUTH_WAITING_AUTH:
|
||||
|
||||
Reference in New Issue
Block a user