Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Luiz Fernando Lavado Villa
OPALIB PID
Commits
540f4c71
Commit
540f4c71
authored
Jul 16, 2021
by
Luiz-Fernando Lavado-Villa
Browse files
Added & for table referencing
parent
8660c6a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/data_conversion.c
View file @
540f4c71
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment