mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-1170 One more compiler warning zapped.
This commit is contained in:
parent
076e690337
commit
aa9e18d7fa
@ -246,7 +246,10 @@ void GCSControlGadget::gamepads(quint8 count)
|
||||
|
||||
void GCSControlGadget::readUDPCommand()
|
||||
{
|
||||
double pitch, yaw, roll, throttle;
|
||||
double pitch = 0.0;
|
||||
double yaw = 0.0;
|
||||
double roll = 0.0;
|
||||
double throttle = 0.0;
|
||||
|
||||
while (control_sock->hasPendingDatagrams()) {
|
||||
QByteArray datagram;
|
||||
|
Loading…
x
Reference in New Issue
Block a user