Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DIOT Monitoring Module
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
DIOT Monitoring Module
Commits
86b4e585
Commit
86b4e585
authored
4 years ago
by
Christos Gentsos
Browse files
Options
Downloads
Patches
Plain Diff
Mitig: remove TMR attribute from (continuously refreshed) PWM values
parent
10256d37
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main_fw/src/main.c
+6
-6
6 additions, 6 deletions
main_fw/src/main.c
with
6 additions
and
6 deletions
main_fw/src/main.c
+
6
−
6
View file @
86b4e585
...
...
@@ -27,15 +27,15 @@ uint16_t frpms_lin[3];
#define TOTAL_PWM_CLOCKS 255
int16_t
curr_pwm_duty1000_1
__xMR
=
10
;
int16_t
curr_pwm_duty1000_2
__xMR
=
10
;
int16_t
curr_pwm_duty1000_3
__xMR
=
10
;
int16_t
curr_pwm_duty1000_1
=
10
;
int16_t
curr_pwm_duty1000_2
=
10
;
int16_t
curr_pwm_duty1000_3
=
10
;
#define FAN_RAMPUP 800
int16_t
goal_pwm_duty1000_1
__xMR
=
FAN_RAMPUP
;
int16_t
goal_pwm_duty1000_2
__xMR
=
FAN_RAMPUP
;
int16_t
goal_pwm_duty1000_3
__xMR
=
FAN_RAMPUP
;
int16_t
goal_pwm_duty1000_1
=
FAN_RAMPUP
;
int16_t
goal_pwm_duty1000_2
=
FAN_RAMPUP
;
int16_t
goal_pwm_duty1000_3
=
FAN_RAMPUP
;
static
uint16_t
iter
__xMR
;
static
uint16_t
fan_ramp_up_count
__xMR
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment