Private
Public Access
2
0

mraa: initial implementation of "hooks"

* Should allow for more platform quirks to be handled by mraa without
* massive conditional areas per platform.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-06-27 15:37:48 +01:00
parent b6c56911c3
commit d0ea43f8d1
10 changed files with 209 additions and 28 deletions

View File

@@ -30,7 +30,7 @@
#include "intel_galileo_rev_g.h"
mraa_board_t*
mraa_intel_galileo_gen2()
mraa_intel_galileo_gen2(mraa_adv_func* adv)
{
mraa_board_t* b = (mraa_board_t*) malloc(sizeof(mraa_board_t));
if (b == NULL)