Skip to content

Commit

Permalink
Update test/mavsdk_tests/mavsdk_preparing.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia-Loginov authored Nov 27, 2024
1 parent 829c55d commit f542e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mavsdk_tests/mavsdk_preparing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ int main(int argc, char **argv)
if (command_set_param == command) {
//TODO: For some reason when we set the new value it sometimes takes several attempts to change a parameter.
//The reason is the bug of mavsdk lib.
//When we set one parameter many times, some time lib sends not the new but the previous value.
//When we set one parameter many times, sometimes the lib sends not the new but the previous value.
int attempt = 1;
const int max_attemp = 5;
const auto param_name = "SYS_AUTOSTART";
Expand Down

0 comments on commit f542e65

Please sign in to comment.