Revision cfdb3afa
ID | cfdb3afa0e50aa1385d0b3be55e3b374fabf9889 |
Added latching to publishers so the first message gets noticed.
scout/libscout/src/WirelessSender.cpp | ||
---|---|---|
48 | 48 |
packet.pan = pan; |
49 | 49 |
packet.channel = channel; |
50 | 50 |
pub = node.advertise< ::messages::WirelessPacket>("/wireless/send", |
51 |
QUEUE_SIZE); |
|
51 |
QUEUE_SIZE, true);
|
|
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
void WirelessSender::setType(uint16_t type) |
Also available in: Unified diff