Merge pull request #2204 from mcharleb/posix-arm

POSIX: changes to support posix build on ARMv7
This commit is contained in:
Lorenz Meier 2015-05-21 08:39:59 +02:00
commit c8f500d254
1 changed files with 1 additions and 1 deletions

View File

@ -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))