Rename PortManager file
This commit is contained in:
parent
24b0324321
commit
41461139c3
4 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Reference in a new issue