Revision b4885314 components/magneto/hmc5883l.cpp
| components/magneto/hmc5883l.cpp | ||
|---|---|---|
| 5 | 5 |
#include <amiro/bus/i2c/I2CParams.hpp> |
| 6 | 6 |
#include <amiro/bus/i2c/I2CDriver.hpp> |
| 7 | 7 |
#include <amiro/magneto/hmc5883l.hpp> |
| 8 |
#include <amiro/Constants.h> |
|
| 8 | 9 |
|
| 9 | 10 |
using namespace chibios_rt; |
| 10 | 11 |
|
| ... | ... | |
| 50 | 51 |
|
| 51 | 52 |
this->eventSource.broadcastFlags(0); |
| 52 | 53 |
|
| 53 |
this->waitAnyEventTimeout(ALL_EVENTS, MS2ST(200));
|
|
| 54 |
this->waitAnyEventTimeout(ALL_EVENTS, CAN::UPDATE_PERIOD_MSEC);
|
|
| 54 | 55 |
} |
| 55 | 56 |
|
| 56 | 57 |
return RDY_OK; |
Also available in: Unified diff