mirror of https://github.com/ArduPilot/ardupilot
AP_PiccoloCAN: allow compilation with HAL_LOGGING_ENABLED false
This commit is contained in:
parent
1cc2517e1e
commit
bf49716520
|
@ -361,6 +361,7 @@ void AP_PiccoloCAN::update()
|
||||||
}
|
}
|
||||||
#endif // AP_EFI_CURRAWONG_ECU_ENABLED
|
#endif // AP_EFI_CURRAWONG_ECU_ENABLED
|
||||||
|
|
||||||
|
#if HAL_LOGGING_ENABLED
|
||||||
AP_Logger *logger = AP_Logger::get_singleton();
|
AP_Logger *logger = AP_Logger::get_singleton();
|
||||||
|
|
||||||
// Push received telemetry data into the logging system
|
// Push received telemetry data into the logging system
|
||||||
|
@ -397,6 +398,9 @@ void AP_PiccoloCAN::update()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void)timestamp;
|
||||||
|
#endif // HAL_LOGGING_ENABLED
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAL_GCS_ENABLED
|
#if HAL_GCS_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue