src/main/kotlin/com/flightfeather/obd/socket/DeviceSession.kt
@@ -20,7 +20,10 @@ } fun getDevice(deviceCode: String?): ChannelHandlerContext? { return if (deviceMap.contains(deviceCode)) deviceMap[deviceCode] else null return if (deviceMap.containsKey(deviceCode)) deviceMap[deviceCode] else null } } }