Implement getPinAddress in simulator

This commit is contained in:
Michal Moskal 2016-09-29 10:47:50 +01:00
parent 17644d4947
commit fc495b928e

View File

@ -114,6 +114,11 @@ namespace pxsim.pins {
export function i2cWriteBuffer(address: number, buf: RefBuffer, repeat?: boolean): void {
// fake - noop
}
// this likely shouldn't be called
export function getPinAddress(name: number) {
return getPin(name)
}
}
namespace pxsim.devices {