Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
DIOT Monitoring Module
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
DIOT Monitoring Module
Commits
1ca3af6d
Commit
1ca3af6d
authored
Sep 06, 2022
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'greg-wip' into 'master'
fix fantray ADC coefficients for current readout See merge request
!2
parents
7db23947
dc5648b1
Pipeline
#3944
passed with stage
in 1 minute and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.c
main_fw/src/main.c
+1
-1
No files found.
main_fw/src/main.c
View file @
1ca3af6d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
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