Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
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
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
a0149b6d
Commit
a0149b6d
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Plain Diff
Merged in paulpatience/nuttx/adc (pull request #30)
ADC: Fix forgotten FARs
parents
c6fc2852
4c70fc18
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/nuttx/analog/adc.h
+7
-7
7 additions, 7 deletions
include/nuttx/analog/adc.h
with
7 additions
and
7 deletions
include/nuttx/analog/adc.h
+
7
−
7
View file @
a0149b6d
...
...
@@ -139,13 +139,13 @@ struct adc_ops_s
struct
adc_dev_s
{
uint8_t
ad_ocount
;
/* The number of times the device has been opened */
uint8_t
ad_nrxwaiters
;
/* Number of threads waiting to enqueue a message */
sem_t
ad_closesem
;
/* Locks out new opens while close is in progress */
sem_t
ad_recvsem
;
/* Used to wakeup user waiting for space in ad_recv.buffer */
struct
adc_fifo_s
ad_recv
;
/* Describes receive FIFO */
const
struct
adc_ops_s
*
ad_ops
;
/* Arch-specific operations */
void
*
ad_priv
;
/* Used by the arch-specific logic */
uint8_t
ad_ocount
;
/* The number of times the device has been opened */
uint8_t
ad_nrxwaiters
;
/* Number of threads waiting to enqueue a message */
sem_t
ad_closesem
;
/* Locks out new opens while close is in progress */
sem_t
ad_recvsem
;
/* Used to wakeup user waiting for space in ad_recv.buffer */
struct
adc_fifo_s
ad_recv
;
/* Describes receive FIFO */
FAR
const
struct
adc_ops_s
*
ad_ops
;
/* Arch-specific operations */
FAR
void
*
ad_priv
;
/* Used by the arch-specific logic */
};
/************************************************************************************
...
...
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