mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
fix I2c name
This commit is contained in:
Vendored
+3
-2
@@ -20,7 +20,8 @@ declare class Board extends NodeJS.EventEmitter
|
||||
constructor(serialPort: string, callback?: (error: any) => void)
|
||||
MODES: Board.PinModes;
|
||||
STEPPER: Board.StepperConstants;
|
||||
I2C_MODES: Board.BoardI2cModes;
|
||||
// tslint:disable-next-line interface-name
|
||||
I2C_MODES: Board.I2cModes;
|
||||
SERIAL_MODES: Board.SerialModes;
|
||||
SERIAL_PORT_IDs: Board.SerialPortIds;
|
||||
SERIAL_PIN_TYPES: Board.SerialPinTypes;
|
||||
@@ -146,7 +147,7 @@ declare namespace Board
|
||||
DIRECTION: { CCW: STEPPER_DIRECTION, CW: STEPPER_DIRECTION }
|
||||
}
|
||||
|
||||
export interface BoardI2cModes
|
||||
export interface I2cModes
|
||||
{
|
||||
WRITE: I2C_MODE, READ: I2C_MODE, CONTINUOUS_READ: I2C_MODE, STOP_READING: I2C_MODE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user