Skip to content

Commit

Permalink
Fixed build failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmcquilkin committed Jun 28, 2023
1 parent b5cf1ac commit 9179168
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/features/connection/connectionSlice.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
import type { RequestStatus } from "@features/requests/requestReducer";
import type {DeviceKey } from "@features/device/deviceSagas";
import type { DeviceKey } from "@utils/connections";

export interface IConnectionState {
connections: Record<DeviceKey, RequestStatus>;
Expand Down
8 changes: 4 additions & 4 deletions src/features/device/deviceConnectionHandlerSagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import { connectionSliceActions } from "@features/connection/connectionSlice";
import { deviceSliceActions } from "@features/device/deviceSlice";
import { requestDisconnectFromDevice } from "@features/device/deviceActions";
import { mapSliceActions } from "@features/map/mapSlice";
import { error } from "@utils/errors";
import type { DeviceKey } from "@features/device/deviceSagas";

import type { DeviceKey } from "@utils/connections";

export type GraphGeoJSONResult = {
nodes: GeoJSON.FeatureCollection,
edges: GeoJSON.FeatureCollection
nodes: GeoJSON.FeatureCollection;
edges: GeoJSON.FeatureCollection;
};

export type DeviceUpdateChannel = EventChannel<app_device_MeshDevice>;
Expand Down
2 changes: 2 additions & 0 deletions src/features/device/deviceSagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function* getAutoConnectPortWorker(
params: {
type: ConnectionType.SERIAL,
portName,
dtr: true,
rts: false,
},
setPrimary: true,
})
Expand Down

0 comments on commit 9179168

Please sign in to comment.