AP_HAL Semaphore: don't use limits, they don't work on c++

This commit is contained in:
Pat Hickey 2013-01-04 16:19:15 -08:00
parent bb4474fa6d
commit 3da864499d

View File

@ -4,9 +4,7 @@
#include <AP_HAL_Namespace.h>
#include <limits.h>
#define HAL_SEMAPHORE_BLOCK_FOREVER UINT32_MAX
#define HAL_SEMAPHORE_BLOCK_FOREVER ((uint32_t) 0xFFFFFFFF)
class AP_HAL::Semaphore {
public: