From 2e2cd37cfa0613a032eacd6289a08809d2276841 Mon Sep 17 00:00:00 2001 From: Nicola Lunghi Date: Fri, 8 Sep 2017 11:43:18 +0100 Subject: [PATCH] src/x86/up.c: add platform version information Signed-off-by: Nicola Lunghi Signed-off-by: Brendan Le Foll --- src/x86/up.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/x86/up.c b/src/x86/up.c index 8152d51..099202a 100644 --- a/src/x86/up.c +++ b/src/x86/up.c @@ -31,6 +31,8 @@ #include "x86/up.h" #define PLATFORM_NAME "UP" +#define PLATFORM_VERSION "1.0.0" + static mraa_result_t mraa_up_set_pininfo(mraa_board_t* board, int mraa_index, char* name, mraa_pincapabilities_t caps, int sysfs_pin) @@ -115,6 +117,7 @@ mraa_up_board() } b->platform_name = PLATFORM_NAME; + b->platform_version = PLATFORM_VERSION; b->phy_pin_count = MRAA_UP_PINCOUNT; b->gpio_count = MRAA_UP_GPIOCOUNT;