Fix unused variables errors in Pixhawk build
Merge pull request #533 from DonLakeFlyer/FixPixhawkErrors

Fix unused variables errors in Pixhawk build