mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
UAVCAN fix compile warning on signedness
This commit is contained in:
@@ -371,7 +371,7 @@ class VirtualCanDriver : public uavcan::ICanDriver,
|
||||
|
||||
void waitFor(uavcan::MonotonicDuration duration)
|
||||
{
|
||||
static const unsigned NsPerSec = 1000000000;
|
||||
static const int NsPerSec = 1000000000;
|
||||
|
||||
if (duration.isPositive()) {
|
||||
auto abstime = ::timespec();
|
||||
|
||||
Reference in New Issue
Block a user