From cfb1213f432d5e2b1f8e1564deb5ddcd776d8cc9 Mon Sep 17 00:00:00 2001 From: Ari Krupnik Date: Wed, 23 Dec 2020 20:02:11 -0600 Subject: [PATCH] AP_HAL: standard spelling of variant --- libraries/AP_HAL/Semaphores.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/Semaphores.h b/libraries/AP_HAL/Semaphores.h index e45555946f..547b08292c 100644 --- a/libraries/AP_HAL/Semaphores.h +++ b/libraries/AP_HAL/Semaphores.h @@ -18,7 +18,7 @@ public: virtual bool take(uint32_t timeout_ms) WARN_IF_UNUSED = 0 ; virtual bool take_nonblocking() WARN_IF_UNUSED = 0; - // a varient that blocks forever + // a variant that blocks forever #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-result" virtual void take_blocking() { take(HAL_SEMAPHORE_BLOCK_FOREVER); };