arm_auth: make type passed to param_get() explicit

This commit is contained in:
Beat Küng
2017-10-24 22:02:00 +02:00
committed by Lorenz Meier
parent 861f5a3d11
commit 530fdb0b61
+1 -1
View File
@@ -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: