diff --git a/src/training/input_record.rs b/src/training/input_record.rs index bd79d54..07e4fd3 100644 --- a/src/training/input_record.rs +++ b/src/training/input_record.rs @@ -428,7 +428,7 @@ unsafe fn set_cpu_controls(p_data: *mut *mut u8) { if !is_training_mode() { return; } - + let controller_data = *p_data.add(1) as *mut ControlModuleInternal; let _controller_no = (*controller_data).controller_index;