Make print_progess scalable

This commit is contained in:
Philippe Teuwen
2020-12-23 01:12:35 +01:00
parent 83eea0532c
commit 7bc3067fa4
3 changed files with 27 additions and 11 deletions

View File

@@ -306,7 +306,7 @@ static int CmdLFTune(const char *Cmd) {
uint32_t max = 71000;
bool first = true;
print_progress(0, max, style);
print_progress(0, max, style);
// loop forever (till button pressed) if iter = 0 (default)
for (uint8_t i = 0; iter == 0 || i < iter; i++) {