remove-stl : update arduino tx examples

This commit is contained in:
Georgi Gerganov
2022-06-08 00:04:03 +03:00
parent ff076c7d3c
commit c730124f8b
5 changed files with 75 additions and 91 deletions

View File

@@ -89,7 +89,9 @@ int main(int argc, char** argv) {
printf("Available Tx protocols:\n");
for (int i = 0; i < (int) protocols.size(); ++i) {
const auto & protocol = protocols[i];
printf(" -t%-2d : %-16s\n", i, protocol.name);
if (protocol.enabled && protocol.name) {
printf(" -t%-2d : %-16s\n", i, protocol.name);
}
}
printf("\n");