Private
Public Access
2
0

iio: Remove iio structures from mraa_platform_t

This means that a valid platform is no longer required for iio operations and
therefore this is now only a req for using USBPLAT

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-10-06 11:51:56 +01:00
parent 529cf8a26e
commit 65614f5f58
4 changed files with 20 additions and 14 deletions

View File

@@ -35,6 +35,7 @@ extern "C" {
#include "mraa_adv_func.h"
extern mraa_board_t* plat;
extern mraa_iio_info_t* plat_iio;
/**
* Takes in pin information and sets up the multiplexors.

View File

@@ -284,9 +284,10 @@ typedef struct _board_t {
mraa_pininfo_t* pins; /**< Pointer to pin array */
mraa_adv_func_t* adv_func; /**< Pointer to advanced function disptach table */
struct _board_t* sub_platform; /**< Pointer to sub platform */
struct _iio* iio_devices; /**< Pointer to IIO devices */
uint8_t iio_device_count; /**< IIO device count */
/*@}*/
} mraa_board_t;
typedef struct {
struct _iio* iio_devices; /**< Pointer to IIO devices */
uint8_t iio_device_count; /**< IIO device count */
} mraa_iio_info_t;