mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
systemcmds/tests: replace warnx -> PX4_INFO
This commit is contained in:
@@ -128,7 +128,7 @@ decode_callback(bson_decoder_t decoder, void *priv, bson_node_t node)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
warnx("PASS: decoder: int1");
|
PX4_INFO("PASS: decoder: int1");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ decode_callback(bson_decoder_t decoder, void *priv, bson_node_t node)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
warnx("PASS: decoder: int2");
|
PX4_INFO("PASS: decoder: int2");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -158,7 +158,7 @@ decode_callback(bson_decoder_t decoder, void *priv, bson_node_t node)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
warnx("PASS: decoder: double1");
|
PX4_INFO("PASS: decoder: double1");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ decode_callback(bson_decoder_t decoder, void *priv, bson_node_t node)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
warnx("PASS: decoder: string1");
|
PX4_INFO("PASS: decoder: string1");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ test_param(int argc, char *argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
warnx("parameter test PASS");
|
PX4_INFO("parameter test PASS");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user