Commit 540f4c71 authored by Luiz-Fernando Lavado-Villa's avatar Luiz-Fernando Lavado-Villa
Browse files

Added & for table referencing

parent 8660c6a9
......@@ -167,9 +167,9 @@ void data_conversion()
// Conversion of the raw ADC value in volt and ampere
// arm_sub_f32(raw_values_adc1, offset_adc1, raw_values_offset_removed_adc1, 4);
arm_sub_f32(raw_values_adc2[0], offset_adc2[0], raw_values_offset_removed_adc2[0], 1);
arm_sub_f32(&raw_values_adc2[0], &offset_adc2[0], &raw_values_offset_removed_adc2[0], 1);
// arm_mult_f32(raw_values_offset_removed_adc1, gain_adc1, converted_values_adc1, 4);
arm_mult_f32(raw_values_offset_removed_adc2[0], gain_adc2[0], converted_values_adc2[0], 1);
arm_mult_f32(&raw_values_offset_removed_adc2[0], &gain_adc2[0], &converted_values_adc2[0], 1);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment