frames fix

This commit is contained in:
maliakal_d 2020-07-02 16:40:18 +02:00
parent 9787c6a385
commit e23a8e7da2

View File

@ -7557,7 +7557,7 @@ int set_scan(int file_des) {
} else { } else {
// trimbit scan // trimbit scan
if (args[0] == TRIMBIT_SCAN) { if (index == TRIMBIT_SCAN) {
#if !defined(EIGERD) && !defined(MYTHEN3D) #if !defined(EIGERD) && !defined(MYTHEN3D)
ret = FAIL; ret = FAIL;
sprintf(mess, sprintf(mess,
@ -7625,7 +7625,7 @@ int set_scan(int file_des) {
case ADC_VPP: case ADC_VPP:
case V_LIMIT: case V_LIMIT:
#endif #endif
modeNotImplemented("Scan Dac Index", args[0]); modeNotImplemented("Scan Dac Index", index);
break; break;
default: default:
break; break;