diff --git a/libraries/AP_HAL_Linux/GPIO_Bebop.cpp b/libraries/AP_HAL_Linux/GPIO_Bebop.cpp index e60de18daa..72060f5586 100644 --- a/libraries/AP_HAL_Linux/GPIO_Bebop.cpp +++ b/libraries/AP_HAL_Linux/GPIO_Bebop.cpp @@ -11,6 +11,6 @@ const unsigned Linux::GPIO_Sysfs::pin_table[] = { const uint8_t Linux::GPIO_Sysfs::n_pins = _BEBOP_GPIO_MAX; static_assert(ARRAY_SIZE(Linux::GPIO_Sysfs::pin_table) == _BEBOP_GPIO_MAX, - "GPIO pin_table must have the same size of entries in enum gpio_minnow"); + "GPIO pin_table must have the same size of entries in enum gpio_bebop"); #endif diff --git a/libraries/AP_HAL_Linux/RCOutput_Bebop.cpp b/libraries/AP_HAL_Linux/RCOutput_Bebop.cpp index efcacc23cc..c63abde62c 100644 --- a/libraries/AP_HAL_Linux/RCOutput_Bebop.cpp +++ b/libraries/AP_HAL_Linux/RCOutput_Bebop.cpp @@ -374,7 +374,7 @@ void RCOutput_Bebop::_run_rcout() memset(current_period_us, 0, sizeof(current_period_us)); if (!_get_info(&info)) { - AP_HAL::panic("failed to get BLDC info\n"); + AP_HAL::panic("failed to get BLDC info"); } /* Set motor order depending on BLDC version.On bebop 1 with version 1