chg: lf config - uses NG

This commit is contained in:
iceman1001 committed 2019-05-20 09:50:04 -04:00
1 parent d7f1ab2175
commit ab8826fed8
1 file changed
+1 -1
+1 -1
View File
@@ -347,7 +347,7 @@ int CmdLFSetConfig(const char *Cmd) {
sample_config config = { decimation, bps, averaging, divisor, trigger_threshold };
clearCommandBuffer();
SendCommandOLD(CMD_SET_LF_SAMPLING_CONFIG, 0, 0, 0, &config, sizeof(sample_config));
SendCommandNG(CMD_SET_LF_SAMPLING_CONFIG, (uint8_t *)&config, sizeof(sample_config));
return 0;
}