mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 16:43:34 +08:00
use int32_t instead of int
This commit is contained in:
committed by
Beat Küng
parent
585b03898f
commit
f2e8aabda4
@@ -148,7 +148,7 @@ void parameters_init()
|
|||||||
void parameters_update()
|
void parameters_update()
|
||||||
{
|
{
|
||||||
PX4_WARN("uart_esc_main parameters_update");
|
PX4_WARN("uart_esc_main parameters_update");
|
||||||
int v_int;
|
int32_t v_int;
|
||||||
|
|
||||||
if (param_get(_parameter_handles.model, &v_int) == 0) {
|
if (param_get(_parameter_handles.model, &v_int) == 0) {
|
||||||
_parameters.model = v_int;
|
_parameters.model = v_int;
|
||||||
|
|||||||
Reference in New Issue
Block a user