Revision b4885314 components/accel/lis331dlh.cpp

View differences:

components/accel/lis331dlh.cpp
5 5
#include <amiro/accel/lis331dlh.hpp>
6 6
#include <chprintf.h>
7 7
#include <cmath>  // abs()
8
#include <amiro/Constants.h>
8 9

  
9 10
namespace amiro {
10 11

  
......
72 73

  
73 74
    this->eventSource.broadcastFlags(0);
74 75

  
75
    this->waitAnyEventTimeout(ALL_EVENTS, MS2ST(200));
76
    this->waitAnyEventTimeout(ALL_EVENTS, CAN::UPDATE_PERIOD_MSEC);
76 77

  
77 78
  }
78 79
  return RDY_OK;

Also available in: Unified diff