dndx / pitot

A customizable aviation information receiver
GNU General Public License v3.0
16 stars 4 forks source link

Pitot gets stuck when /dev/ttyAMA0 does not exist #15

Open muxi opened 6 years ago

muxi commented 6 years ago

Reproduced on Raspberry Pi without /dev/ttyAMA0, running RUST_LOG=info target/debug/pitot.

Seeing the following output:

INFO:pitot::sensor::gnss::ublox: trying port /dev/ttyAMA0

and then stuck for at least 2 min (did not try longer). Was expecting it to display unable to find any Ublox GPS in the next line after a few seconds. I think serial open might not be timing out.

This might be ok for now but will block pitot from searching for following devices when they are added in the device list.