Revision 7bc8249a

View differences:

Adafruit_BNO055.cpp
529 529
  imu::Vector<3> vec;
530 530
  if (vec_type == Adafruit_BNO055::VECTOR_LINEARACCEL)
531 531
  {
532
    event->type = SENSOR_TYPE_ACCELEROMETER;
532
    event->type = SENSOR_TYPE_LINEAR_ACCELERATION;
533 533
    vec = getVector(Adafruit_BNO055::VECTOR_LINEARACCEL);
534 534

  
535 535
    event->acceleration.x = vec.x();

Also available in: Unified diff