X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fbbb_pin.h;h=14bc7ebbb272820b3fc26b26851375dc8a1c8485;hb=a671f27ecb900f91bf32b8b13edb678009e319c1;hp=658b95a03d163f628adba67d3a2f7b9148a432ae;hpb=3bef37b168e451dc56932d03a9150d21eab4ffc9;p=matches%2FMCTX3420.git diff --git a/server/bbb_pin.h b/server/bbb_pin.h index 658b95a..14bc7eb 100644 --- a/server/bbb_pin.h +++ b/server/bbb_pin.h @@ -31,6 +31,7 @@ extern bool PWM_Set(int pin, bool polarity, long period, long duty); // period a extern bool PWM_Stop(int pin); #else +//! @cond Doxygen_Suppress //Horrible hacks to silence gcc when compiling on systems that are not the BBB extern bool True_Stub(int arg, ...); extern bool ADC_Read_Stub(int *val, ...); @@ -53,7 +54,7 @@ extern bool GPIO_Read_Stub(bool *val, ...); #define PWM_Set(pin, polarity, period, duty) True_Stub((int)pin, polarity, period, duty) #define PWM_Stop(pin) True_Stub((int)pin) //yuck - +//! @endcond #endif //_BBB #endif //_BBB_PIN_H