mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 07:43:35 +08:00
logger: use nullptr instead of NULL
This commit is contained in:
@@ -1443,7 +1443,7 @@ void Logger::initialize_load_output()
|
|||||||
perf_callback_data_t callback_data;
|
perf_callback_data_t callback_data;
|
||||||
callback_data.logger = this;
|
callback_data.logger = this;
|
||||||
callback_data.counter = 0;
|
callback_data.counter = 0;
|
||||||
callback_data.buffer = NULL;
|
callback_data.buffer = nullptr;
|
||||||
char buffer[140];
|
char buffer[140];
|
||||||
hrt_abstime curr_time = hrt_absolute_time();
|
hrt_abstime curr_time = hrt_absolute_time();
|
||||||
init_print_load_s(curr_time, &_load);
|
init_print_load_s(curr_time, &_load);
|
||||||
|
|||||||
Reference in New Issue
Block a user