Skip to content

Commit

Permalink
AP_HAL Semaphore: don't use limits, they don't work on c++
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Hickey committed Jan 5, 2013
1 parent b6b59e7 commit 0534eab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libraries/AP_HAL/Semaphores.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0534eab

Please sign in to comment.