FIX: removed a compiler warning, the stringlen is not used anymore.

This commit is contained in:
iceman1001 2016-07-31 22:03:46 +02:00
parent b1013281d3
commit 9f52c9db28

View file

@ -128,7 +128,6 @@ int CmdLFCommandRead(const char *Cmd) {
bool useHighFreq = FALSE;
uint16_t one = 0, zero = 0;
uint8_t cmdp = 0;
int strLength = 0;
UsbCommand c = {CMD_MOD_THEN_ACQUIRE_RAW_ADC_SAMPLES_125K, {0,0,0}};
while(param_getchar(Cmd, cmdp) != 0x00) {
@ -143,7 +142,7 @@ int CmdLFCommandRead(const char *Cmd) {
cmdp++;
break;
case 'c':
strLength = param_getstr(Cmd, cmdp+1, (char *)&c.d.asBytes);
param_getstr(Cmd, cmdp+1, (char *)&c.d.asBytes);
cmdp+=2;
break;
case 'd':