mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 03:37:35 +08:00
logger: fix 'Undefined symbols for architecture x86_64' on clang for _min_write_chunk
This commit is contained in:
@@ -8,6 +8,8 @@ namespace px4
|
||||
{
|
||||
namespace logger
|
||||
{
|
||||
constexpr size_t LogWriter::_min_write_chunk;
|
||||
|
||||
|
||||
LogWriter::LogWriter(size_t buffer_size) :
|
||||
_buffer_size(math::max(buffer_size, _min_write_chunk))
|
||||
|
||||
Reference in New Issue
Block a user