missed file in previous checkin

This commit is contained in:
Peli de Halleux 2016-04-26 17:09:27 -07:00
parent cef1f57e30
commit ac942e198a

View File

@ -348,6 +348,12 @@ declare namespace control {
*/ */
//% blockId="control_device_name" block="device name" weight=10 shim=control::deviceName //% blockId="control_device_name" block="device name" weight=10 shim=control::deviceName
function deviceName(): string; function deviceName(): string;
/**
* Derive a unique, consistent serial number of this device from internal data.
*/
//% shim=control::deviceSerialNumber
function deviceSerialNumber(): number;
} }