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
beac53d7
Commit
beac53d7
authored
6 years ago
by
Beat Küng
Committed by
Julian Oes
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cdev_platform: remove unused code (sim_delay)
parent
ecbe2a3e
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
src/lib/cdev/posix/cdev_platform.cpp
+0
-8
0 additions, 8 deletions
src/lib/cdev/posix/cdev_platform.cpp
with
0 additions
and
8 deletions
src/lib/cdev/posix/cdev_platform.cpp
+
0
−
8
View file @
beac53d7
...
...
@@ -54,10 +54,6 @@ const cdev::px4_file_operations_t cdev::CDev::fops = {};
pthread_mutex_t
devmutex
=
PTHREAD_MUTEX_INITIALIZER
;
pthread_mutex_t
filemutex
=
PTHREAD_MUTEX_INITIALIZER
;
px4_sem_t
lockstep_sem
;
bool
sim_lockstep
=
false
;
volatile
bool
sim_delay
=
false
;
#define PX4_MAX_FD 350
static
map
<
string
,
void
*>
devmap
;
static
cdev
::
file_t
filemap
[
PX4_MAX_FD
]
=
{};
...
...
@@ -334,10 +330,6 @@ extern "C" {
#endif
while
(
sim_delay
)
{
px4_usleep
(
100
);
}
PX4_DEBUG
(
"Called px4_poll timeout = %d"
,
timeout
);
px4_sem_init
(
&
sem
,
0
,
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