mraa-gpio: sync iot2050 id with mraa library (#948)

Based on eclipse/mraa@a9f0ff22 iot2050 platform add.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
This commit is contained in:
Ivan Mikhaylov 2022-09-08 21:07:14 +00:00 committed by GitHub
parent 95e5e7341e
commit 721ccd2c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@
if (data === 5) { t = "Raspberry Pi"; }
if (data === 6) { t = "Beaglebone"; }
if (data === 7) { t = "Banana"; }
if (data === 25) { t = "IOT2050"; }
if (data === 26) { t = "IOT2050"; }
$('#btype').text(t);
$('#node-input-pin').val(pinnow);
});

View File

@ -32,7 +32,7 @@
if (data === 5) { t = "Raspberry Pi"; }
if (data === 6) { t = "Beaglebone"; }
if (data === 7) { t = "Banana"; }
if (data === 25) { t = "IOT2050"; }
if (data === 26) { t = "IOT2050"; }
$('#type-tip').text(t);
$('#node-input-pin').val(pinnow);
});

View File

@ -36,7 +36,7 @@
if (data === 5) { t = "Raspberry Pi"; }
if (data === 6) { t = "Beaglebone"; }
if (data === 7) { t = "Banana"; }
if (data === 25) { t = "IOT2050"; }
if (data === 26) { t = "IOT2050"; }
$('#btype').text(t);
if (data === 0) {
$('#node-input-pin').append($("<option></option>").attr("value",14).text("LED - Galileo v1"));

View File

@ -30,7 +30,7 @@
if (data === 5) { t = "Raspberry Pi"; }
if (data === 6) { t = "Beaglebone"; }
if (data === 7) { t = "Banana"; }
if (data === 25) { t = "IOT2050"; }
if (data === 26) { t = "IOT2050"; }
$('#btype').text(t);
$('#node-input-pin').val(pinnow);
});

View File

@ -35,7 +35,7 @@
if (data === 5) { t = "Raspberry Pi"; }
if (data === 6) { t = "Beaglebone"; }
if (data === 7) { t = "Banana"; }
if (data === 25) { t = "IOT2050"; }
if (data === 26) { t = "IOT2050"; }
$('#type-tip').text(t);
$('#node-input-pin').val(pinnow);
});