reduced supported timer count to 4, the driver doesn't need more that 2 right now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7684 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "debug.h"
|
||||
#include "timer.h"
|
||||
|
||||
#define MAX_TIMERS 32
|
||||
#define MAX_TIMERS 4
|
||||
|
||||
|
||||
struct timer_info
|
||||
|
||||
@@ -30,7 +30,7 @@ typedef int32 timer_id;
|
||||
typedef void (*timer_function)(void *cookie);
|
||||
|
||||
// create_timer() can be called from interrupt context.
|
||||
// Only up to 32 concurrent timers are supported.
|
||||
// Only up to 4 concurrent timers are supported.
|
||||
// Flags can be one of B_ONE_SHOT_ABSOLUTE_TIMER,
|
||||
// B_ONE_SHOT_RELATIVE_TIMER or B_PERIODIC_TIMER.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user