forked from Archive/PX4-Autopilot
Merge pull request #2204 from mcharleb/posix-arm
POSIX: changes to support posix build on ARMv7
This commit is contained in:
commit
c8f500d254
|
@ -211,7 +211,7 @@ Airspeed::ioctl(device::file_t *filp, int cmd, unsigned long arg)
|
|||
bool want_start = (_measure_ticks == 0);
|
||||
|
||||
/* convert hz to tick interval via microseconds */
|
||||
unsigned ticks = USEC2TICK(1000000 / arg);
|
||||
long ticks = USEC2TICK(1000000 / arg);
|
||||
|
||||
/* check against maximum rate */
|
||||
if (ticks < USEC2TICK(_conversion_interval))
|
||||
|
|
Loading…
Reference in New Issue