From aa6814217e95924feef0fcfb7a0f5fc0294545ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 18 Apr 2017 21:36:07 +0200 Subject: [PATCH] shutdown.cpp: use nullptr instead of NULL --- src/platforms/common/shutdown.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/common/shutdown.cpp b/src/platforms/common/shutdown.cpp index e38c11d5f4..a99a650af1 100644 --- a/src/platforms/common/shutdown.cpp +++ b/src/platforms/common/shutdown.cpp @@ -157,7 +157,7 @@ void shutdown_worker(void *arg) } } else { - work_queue(HPWORK, &shutdown_work, (worker_t)&shutdown_worker, NULL, USEC2TICK(10000)); + work_queue(HPWORK, &shutdown_work, (worker_t)&shutdown_worker, nullptr, USEC2TICK(10000)); } } @@ -192,7 +192,7 @@ int px4_shutdown_request(bool reboot, bool to_bootloader) shutdown_args |= SHUTDOWN_ARG_TO_BOOTLOADER; } - return work_queue(HPWORK, &shutdown_work, (worker_t)&shutdown_worker, NULL, USEC2TICK(0)); + return work_queue(HPWORK, &shutdown_work, (worker_t)&shutdown_worker, nullptr, USEC2TICK(0)); }