Commit dc5648b1 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

fix fantray ADC coefficients for current readout

parent 7db23947
Pipeline #3941 passed with stage
in 1 minute and 18 seconds
......@@ -99,7 +99,7 @@ const float temp_coeff_b[3] = {100.0/(1.0+10.0/10.0), 100.0/(1.0+10.0/10.0), 100
// Voltages: P12V, P5V
const float volt_scaling_coeff[3] = {(10.0+2.0)/2.0, (16.0+10.0)/10.0, 0};
// Currents: P12V, P5V
const float curr_scaling_coeff[3] = {(200.0+2000.0)/200.0, (200.0+2000.0)/200.0, (200.0+2000.0)/200.0};
const float curr_scaling_coeff[3] = {200.0/(2000.0*0.05), 200.0/(2000.0*0.05), 200.0/(2000.0*0.05)};
const float temp_coeff_a[3] = {0, 0, 0};
const float temp_coeff_b[3] = {100.0/(1.0+10.0/10.0), 0, 0};
#elif defined MMRATO
......
Markdown is supported
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