Rename PortManager file

This commit is contained in:
GHOSCHT 2021-08-27 18:52:24 +02:00
parent 24b0324321
commit 41461139c3
4 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
import PortController from "../SerialConnection"; import PortController from "../PortController";
export default interface ISerialConnectionState { export default interface ISerialConnectionState {
port: string | null; port: string | null;

View file

@ -2,7 +2,7 @@ import { ThunkResult } from "typesafe-actions";
import { import {
connectionStart, connectionSuccess, connectionFailure, setPortController, connectionEnd, connectionStart, connectionSuccess, connectionFailure, setPortController, connectionEnd,
} from "./serialConnectionActions"; } from "./serialConnectionActions";
import PortController from "../../SerialConnection"; import PortController from "../../PortController";
const connect = (): ThunkResult<void> => async (dispatch, getState) => { const connect = (): ThunkResult<void> => async (dispatch, getState) => {
const state = getState(); const state = getState();

View file

@ -1,5 +1,5 @@
import { action } from "typesafe-actions"; import { action } from "typesafe-actions";
import PortController from "../../SerialConnection"; import PortController from "../../PortController";
export enum SerialConnectionActionTypes { export enum SerialConnectionActionTypes {
SET_SERIAL_PORT = "SET_SERIAL_PORT", SET_SERIAL_PORT = "SET_SERIAL_PORT",