diff --git a/libraries/AP_DAL/AP_DAL.h b/libraries/AP_DAL/AP_DAL.h index 4ae6cf264ec..553c16b3164 100644 --- a/libraries/AP_DAL/AP_DAL.h +++ b/libraries/AP_DAL/AP_DAL.h @@ -270,6 +270,9 @@ public: void handle_message(const log_RISI &msg) { _ins.handle_message(msg); } + void handle_message(const log_RISJ &msg) { + _ins.handle_message(msg); + } void handle_message(const log_RASH &msg) { if (_airspeed == nullptr) { diff --git a/libraries/AP_DAL/AP_DAL_InertialSensor.cpp b/libraries/AP_DAL/AP_DAL_InertialSensor.cpp index 5e3bbe15bdf..5a60f4799a9 100644 --- a/libraries/AP_DAL/AP_DAL_InertialSensor.cpp +++ b/libraries/AP_DAL/AP_DAL_InertialSensor.cpp @@ -8,7 +8,13 @@ AP_DAL_InertialSensor::AP_DAL_InertialSensor() for (uint8_t i=0; i