mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
UAVCAN fix compile warning on signedness
This commit is contained in:
parent
3ccb35f338
commit
b9e991a3df
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user