X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fbbb_pin.c;h=2ffc9e5888cb21839c863a634461dd7bf5c77578;hb=5b98dd1c37a6151e734e8fa3a7054248ae3455c6;hp=7d500dd0e44537e74d5e742adf872cfe3b26ddf0;hpb=66df642416e00b7f5a84e14c001ce03dfd1930ea;p=matches%2FMCTX3420.git diff --git a/server/bbb_pin.c b/server/bbb_pin.c index 7d500dd..2ffc9e5 100644 --- a/server/bbb_pin.c +++ b/server/bbb_pin.c @@ -1,6 +1,7 @@ /** * @file bbb_pin.c - * @purpose Implementation of BBB pin control functions and structures + * @brief Implementation of BBB pin control functions and structures + * On non-beaglebone (actually non-arm) platforms, this code is disabled. * THIS CODE IS NOT THREADSAFE */ @@ -509,7 +510,7 @@ bool ADC_Read(int id, int *value) #ifndef _BBB //For running on systems that are not the BBB -bool True_Stub(void *arg, ...) { return true; } +bool True_Stub(int arg, ...) { return true; } bool ADC_Read_Stub(int *val, ...) { *val = 0; return true; } bool GPIO_Read_Stub(bool *val, ...) { *val = false; return true; } #endif