Implement getPinAddress in simulator
This commit is contained in:
parent
17644d4947
commit
fc495b928e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user