mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-12-16 18:08:04 +00:00
Fix queue put to not use double reference
This commit is contained in:
@@ -30,7 +30,7 @@ namespace sta
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
bool RtosQueue<T>::put(const T & msg, uint32_t timeout /* = osWaitForever */)
|
||||
bool RtosQueue<T>::put(const T msg, uint32_t timeout /* = osWaitForever */)
|
||||
{
|
||||
return (osOK == osMessageQueuePut(handle_, &msg, 0, timeout));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user