From c3f11c4090630c12e9af2c3f0521e36df71bf174 Mon Sep 17 00:00:00 2001 From: Shinichiro Oba Date: Sun, 30 Jun 2019 04:47:45 +0900 Subject: [PATCH] Formatting --- Sources/BoostBLEKit/Hub/Boost.swift | 4 ++-- Sources/BoostBLEKit/Hub/Duplo.swift | 4 ++-- Sources/BoostBLEKit/Hub/PoweredUp.swift | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Sources/BoostBLEKit/Hub/Boost.swift b/Sources/BoostBLEKit/Hub/Boost.swift index a515a79..28bc5f7 100644 --- a/Sources/BoostBLEKit/Hub/Boost.swift +++ b/Sources/BoostBLEKit/Hub/Boost.swift @@ -68,7 +68,7 @@ public final class Boost { 0x3a: .tiltSensor, 0x3b: .currentSensor, 0x3c: .voltageSensor, - ] + ] public let portMap: [Port: PortId] = [ .A: 0x37, @@ -76,7 +76,7 @@ public final class Boost { .C: 0x01, .D: 0x02, .AB: 0x39, - ] + ] public func canSupportAsMotor(ioType: IOType) -> Bool { switch ioType { diff --git a/Sources/BoostBLEKit/Hub/Duplo.swift b/Sources/BoostBLEKit/Hub/Duplo.swift index d5b4890..1a57192 100644 --- a/Sources/BoostBLEKit/Hub/Duplo.swift +++ b/Sources/BoostBLEKit/Hub/Duplo.swift @@ -21,11 +21,11 @@ public final class Duplo { 0x12: .trainBaseColorSensor, 0x13: .trainBaseSpeedometer, 0x14: .voltageSensor, - ] + ] public let portMap: [Port: PortId] = [ .A: 0x00, - ] + ] public func canSupportAsMotor(ioType: IOType) -> Bool { switch ioType { diff --git a/Sources/BoostBLEKit/Hub/PoweredUp.swift b/Sources/BoostBLEKit/Hub/PoweredUp.swift index 6b39e8d..249bd62 100644 --- a/Sources/BoostBLEKit/Hub/PoweredUp.swift +++ b/Sources/BoostBLEKit/Hub/PoweredUp.swift @@ -18,13 +18,13 @@ public final class PoweredUp { 0x32: .rgbLight, 0x3b: .currentSensor, 0x3c: .voltageSensor, - ] + ] public let portMap: [Port: PortId] = [ .A: 0x00, .B: 0x01, .AB: 0x39, - ] + ] public func canSupportAsMotor(ioType: IOType) -> Bool { switch ioType {