mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-09 08:04:14 -03:00
AP_Notify: fixed shadowed variable warning
This commit is contained in:
parent
a9c570702c
commit
8b337bfc4c
@ -37,8 +37,8 @@ extern const AP_HAL::HAL& hal;
|
|||||||
bool ToneAlarm_Linux::init()
|
bool ToneAlarm_Linux::init()
|
||||||
{
|
{
|
||||||
// open the tone alarm device
|
// open the tone alarm device
|
||||||
bool _initialized = hal.util->toneAlarm_init();
|
bool initialized = hal.util->toneAlarm_init();
|
||||||
if (!_initialized) {
|
if (!initialized) {
|
||||||
hal.console->printf("AP_Notify: Failed to initialise ToneAlarm");
|
hal.console->printf("AP_Notify: Failed to initialise ToneAlarm");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user