Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
3d6c1690
Commit
3d6c1690
authored
6 years ago
by
Daniel Agar
Browse files
Options
Downloads
Patches
Plain Diff
pwm_input cleanup unnecessary Device CDev usage
parent
0ff1effd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/drivers/pwm_input/pwm_input.cpp
+2
-2
2 additions, 2 deletions
src/drivers/pwm_input/pwm_input.cpp
with
2 additions
and
2 deletions
src/drivers/pwm_input/pwm_input.cpp
+
2
−
2
View file @
3d6c1690
...
...
@@ -225,7 +225,7 @@
#define TIMEOUT_POLL 300000
/* reset after no response over this time in microseconds [0.3s] */
#define TIMEOUT_READ 200000
/* don't reset if the last read is back more than this time in microseconds [0.2s] */
class
PWMIN
:
dev
ice
::
CDev
class
PWMIN
:
c
dev
::
CDev
{
public:
PWMIN
();
...
...
@@ -271,7 +271,7 @@ static void pwmin_usage(void);
static
PWMIN
*
g_dev
;
PWMIN
::
PWMIN
()
:
CDev
(
"pwmin"
,
PWMIN0_DEVICE_PATH
),
CDev
(
PWMIN0_DEVICE_PATH
),
_error_count
(
0
),
_pulses_captured
(
0
),
_last_period
(
0
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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