Revision b4885314 components/input/mpr121.cpp
components/input/mpr121.cpp | ||
---|---|---|
1 | 1 |
#include <amiro/bus/i2c/I2CDriver.hpp> |
2 | 2 |
#include <amiro/input/mpr121.hpp> |
3 |
#include <amiro/Constants.h> |
|
3 | 4 |
|
4 | 5 |
namespace amiro { |
5 | 6 |
|
... | ... | |
171 | 172 |
|
172 | 173 |
this->eventSource.broadcastFlags(0); |
173 | 174 |
|
174 |
this->waitAnyEventTimeout(ALL_EVENTS, MS2ST(100));
|
|
175 |
this->waitAnyEventTimeout(ALL_EVENTS, CAN::UPDATE_PERIOD_MSEC);
|
|
175 | 176 |
} |
176 | 177 |
|
177 | 178 |
return RDY_OK; |
Also available in: Unified diff