diff --git a/libraries/SRV_Channel/SRV_Channel.h b/libraries/SRV_Channel/SRV_Channel.h index 67d77c7fbd..6b8c9e6b21 100644 --- a/libraries/SRV_Channel/SRV_Channel.h +++ b/libraries/SRV_Channel/SRV_Channel.h @@ -196,7 +196,7 @@ public: // return true if the channel is reversed bool get_reversed(void) const { - return reversed?true:false; + return reversed != 0; } // set MIN/MAX parameters