X-Git-Url: https://git.ucc.asn.au/?p=matches%2FMCTX3420.git;a=blobdiff_plain;f=server%2Fbbb_pin.h;fp=server%2Fbbb_pin.h;h=14bc7ebbb272820b3fc26b26851375dc8a1c8485;hp=658b95a03d163f628adba67d3a2f7b9148a432ae;hb=b7a1e44bd6c984d061b0b88a8b00cf24b854a1df;hpb=7deca6b4e089e76e279ae84c0aa25728d91e8fd9 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