does this solve opensuse warning?
This commit is contained in:
1 parent
1a89e2a629
commit
d0241ed24f
1 file changed
+4
-1
+4
-1
@@ -726,7 +726,10 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||
break;
|
||||
}
|
||||
case CMD_LF_SAMPLING_SET_CONFIG: {
|
||||
setSamplingConfig((sample_config *) packet->data.asBytes);
|
||||
sample_config c;
|
||||
memcpy(&c, packet->data.asBytes, sizeof(sample_config));
|
||||
setSamplingConfig(&c);
|
||||
// setSamplingConfig((sample_config *) packet->data.asBytes);
|
||||
break;
|
||||
}
|
||||
case CMD_LF_ACQ_RAW_ADC: {
|
||||
|
||||
Reference in new issue
Block a user