Skip to content

Commit 32f6a25

Browse files
JaydenBLiJaydenBLi
authored andcommitted
format changes
1 parent d3978ec commit 32f6a25

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

houston/src/pages/Control.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ function Control({
345345

346346
const data = await response.text();
347347
if (!isCancelled) {
348-
setTickState(data.split(',')[0]);
349-
setNumLaps(data.split(',')[1]);
348+
setTickState(data.split(",")[0]);
349+
setNumLaps(data.split(",")[1]);
350350
}
351351
} catch (error) {
352352
console.error("Error fetching tick state:", error);

houston/src/utilities/pull_telemetry.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function pullTelemetry(
3434
setPixhawkBatteryVal: Dispatch<SetStateAction<Parameter>>,
3535
setESCtemperatureVal: Dispatch<SetStateAction<Parameter>>,
3636
setSuperSecret: Dispatch<SetStateAction<boolean>>,
37-
setFlightMode: Dispatch<SetStateAction<string>>
37+
setFlightMode: Dispatch<SetStateAction<string>>,
3838
) {
3939
const speedRequest = fetch("/api/plane/telemetry?id=74&field=groundspeed,airspeed,heading")
4040
.then((resp) => resp.json())
@@ -147,4 +147,3 @@ export async function pullTelemetry(
147147
voltageRequest,
148148
]);
149149
}
150-

0 commit comments

Comments
 (0)