Skip to content
Snippets Groups Projects
Commit beac53d7 authored by Beat Küng's avatar Beat Küng Committed by Julian Oes
Browse files

cdev_platform: remove unused code (sim_delay)

parent ecbe2a3e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment