mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
POSIX: fixed build error for unused variable
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -999,9 +999,10 @@ GYROSIM::measure_trampoline(void *arg)
|
||||
void
|
||||
GYROSIM::measure()
|
||||
{
|
||||
static int x = 0;
|
||||
|
||||
#if 0
|
||||
static int x = 0;
|
||||
|
||||
// Verify the samples are being taken at the expected rate
|
||||
if (x == 99) {
|
||||
x = 0;
|
||||
|
||||
Reference in New Issue
Block a user