1
0
Fork 0
mirror of https://github.com/kou029w/megabit.git synced 2025-01-30 21:58:04 +00:00

use GPIO to correct OperationError

This commit is contained in:
Nebel 2020-02-07 13:53:11 +09:00
parent bfc0a95e64
commit 889b494c3f

View file

@ -37,7 +37,7 @@ export class GPIO extends GPIOPort {
}
export function gpio(pin: number) {
return new GPIOPort(pin);
return new GPIO(pin);
}
export default gpio;