Skip to content

Commit 7c7faaa

Browse files
author
Scott Powell
committed
* agc.reset.interval rounding warning
1 parent 009ca6d commit 7c7faaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/CommonCLI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
268268
} else if (memcmp(config, "agc.reset.interval ", 19) == 0) {
269269
_prefs->agc_reset_interval = atoi(&config[19]) / 4;
270270
savePrefs();
271-
strcpy(reply, "OK");
271+
sprintf(reply, "OK - interval rounded to %d", ((uint32_t) _prefs->agc_reset_interval) * 4);
272272
} else if (memcmp(config, "multi.acks ", 11) == 0) {
273273
_prefs->multi_acks = atoi(&config[11]);
274274
savePrefs();

0 commit comments

Comments
 (0)