android-things: Possibly working gpio
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Noel Eck
parent
533517a864
commit
60ca81a3e1
@@ -314,7 +314,11 @@ typedef struct {
|
||||
*/
|
||||
typedef struct {
|
||||
/*@{*/
|
||||
#if defined(PERIPHERALMAN)
|
||||
char *name; /**< Peripheral manager's pin name */
|
||||
#else
|
||||
char name[MRAA_PIN_NAME_SIZE]; /**< Pin's real world name */
|
||||
#endif
|
||||
mraa_pincapabilities_t capabilities; /**< Pin Capabiliites */
|
||||
mraa_pin_t gpio; /**< GPIO structure */
|
||||
mraa_pin_t pwm; /**< PWM structure */
|
||||
|
||||
@@ -30,8 +30,9 @@ extern "C" {
|
||||
|
||||
#include "mraa_internal.h"
|
||||
|
||||
mraa_platform_t
|
||||
mraa_peripheralman_platform();
|
||||
mraa_platform_t mraa_peripheralman_platform();
|
||||
|
||||
void pman_mraa_deinit();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user