Transceiver.cpp: fix incorrect format string for SETTSC
Change-Id: If69a478121a31aa7df945548cc17271c476d6a6b
This commit is contained in:
parent
a62fcf786a
commit
8c6c5d2bcd
|
@ -801,7 +801,7 @@ void Transceiver::driveControl(size_t chan)
|
|||
} else if (match_cmd(command, "SETTSC", ¶ms)) {
|
||||
// set TSC
|
||||
unsigned TSC;
|
||||
sscanf(params, "%d", &TSC);
|
||||
sscanf(params, "%u", &TSC);
|
||||
if (TSC > 7) {
|
||||
sprintf(response, "RSP SETTSC 1 %d", TSC);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue