mraa: Remove global advance_func struct and place it in platform configuration
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
// FIXME: Nasty macro to test for presence of function in context structure function table
|
||||
#define IS_FUNC_DEFINED(dev, func) (dev != NULL && dev->advance_func != NULL && dev->advance_func->func != NULL)
|
||||
|
||||
|
||||
typedef struct {
|
||||
mraa_result_t (*gpio_init_internal_replace) (int pin);
|
||||
mraa_result_t (*gpio_init_pre) (int pin);
|
||||
|
||||
Reference in New Issue
Block a user