GCS_MAVLink: break out of loop statement once we have a result

This commit is contained in:
Peter Barker 2019-08-21 08:20:00 +10:00 committed by Peter Barker
parent 052e721622
commit 2acc53ec17
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ void GCS_MAVLINK::load_signing_key(void)
for (uint8_t i=0; i<sizeof(key.secret_key); i++) {
if (signing.secret_key[i] != 0) {
all_zero = false;
break;
}
}