diff options
| author | Uri Shaked | 2020-04-27 21:59:13 +0300 |
|---|---|---|
| committer | Uri Shaked | 2020-04-27 21:59:13 +0300 |
| commit | c792b8c5938bc6331dc4869c6c51dc01cde75641 (patch) | |
| tree | d70b95699ef73cdefd0d21417e14bb85c51dff27 /src/peripherals/gpio.ts | |
| parent | chore(deps): prettier 2.0 (diff) | |
| download | avr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.tar.gz avr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.tar.bz2 avr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.zip | |
style: reformat code with prettier 2.x
prettier rules have changed since we upgraded to 2.x
Diffstat (limited to 'src/peripherals/gpio.ts')
| -rw-r--r-- | src/peripherals/gpio.ts | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/peripherals/gpio.ts b/src/peripherals/gpio.ts index 35030b8..ba3217b 100644 --- a/src/peripherals/gpio.ts +++ b/src/peripherals/gpio.ts @@ -20,74 +20,74 @@ export type GPIOListener = (value: u8, oldValue: u8) => void; export const portAConfig: AVRPortConfig = { PIN: 0x20, DDR: 0x21, - PORT: 0x22 + PORT: 0x22, }; export const portBConfig: AVRPortConfig = { PIN: 0x23, DDR: 0x24, - PORT: 0x25 + PORT: 0x25, }; export const portCConfig: AVRPortConfig = { PIN: 0x26, DDR: 0x27, - PORT: 0x28 + PORT: 0x28, }; export const portDConfig: AVRPortConfig = { PIN: 0x29, DDR: 0x2a, - PORT: 0x2b + PORT: 0x2b, }; export const portEConfig: AVRPortConfig = { PIN: 0x2c, DDR: 0x2d, - PORT: 0x2e + PORT: 0x2e, }; export const portFConfig: AVRPortConfig = { PIN: 0x2f, DDR: 0x30, - PORT: 0x31 + PORT: 0x31, }; export const portGConfig: AVRPortConfig = { PIN: 0x32, DDR: 0x33, - PORT: 0x34 + PORT: 0x34, }; export const portHConfig: AVRPortConfig = { PIN: 0x100, DDR: 0x101, - PORT: 0x102 + PORT: 0x102, }; export const portJConfig: AVRPortConfig = { PIN: 0x103, DDR: 0x104, - PORT: 0x105 + PORT: 0x105, }; export const portKConfig: AVRPortConfig = { PIN: 0x106, DDR: 0x107, - PORT: 0x108 + PORT: 0x108, }; export const portLConfig: AVRPortConfig = { PIN: 0x109, DDR: 0x10a, - PORT: 0x10b + PORT: 0x10b, }; export enum PinState { Low, High, Input, - InputPullUp + InputPullUp, } export class AVRIOPort { |
