Skip to content

Commit

Permalink
celsius is spelled wrong 👎
Browse files Browse the repository at this point in the history
  • Loading branch information
00magikarp committed Jan 18, 2024
1 parent d5e1c2a commit 7184cdc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ interface FeederIO {
table?.put("floorAppliedVoltage", floorAppliedVoltage.inVolts)
table?.put("floorStatorCurrent", floorStatorCurrent.inAmperes)
table?.put("floorSupplyCurrent", floorSupplyCurrent.inAmperes)
table?.put("floorTempCelcius", floorTemp.inCelsius)
table?.put("floorTempCelsius", floorTemp.inCelsius)
table?.put("verticalAppliedVoltage", verticalAppliedVoltage.inVolts)
table?.put("verticalStatorCurrent", verticalStatorCurrent.inAmperes)
table?.put("verticalSupplyCurrent", verticalSupplyCurrent.inAmperes)
table?.put("verticalTempCelcius", verticalTemp.inCelsius)
table?.put("verticalTempCelsius", verticalTemp.inCelsius)
}

override fun fromLog(table: LogTable?) {
Expand All @@ -44,7 +44,7 @@ interface FeederIO {
table?.get("floorSupplyCurrent", floorSupplyCurrent.inAmperes)?.let {
floorSupplyCurrent = it.amps
}
table?.get("floorTempCelcius", floorTemp.inCelsius)?.let { floorTemp = it.celsius }
table?.get("floorTempCelsius", floorTemp.inCelsius)?.let { floorTemp = it.celsius }
table?.get("verticalAppliedVoltage", verticalAppliedVoltage.inVolts)?.let {
verticalAppliedVoltage = it.volts
}
Expand All @@ -54,7 +54,7 @@ interface FeederIO {
table?.get("verticalSupplyCurrent", verticalSupplyCurrent.inAmperes)?.let {
verticalSupplyCurrent = it.amps
}
table?.get("verticalTempCelcius", verticalTemp.inCelsius)?.let { verticalTemp = it.celsius }
table?.get("verticalTempCelsius", verticalTemp.inCelsius)?.let { verticalTemp = it.celsius }
}
}

Expand Down

0 comments on commit 7184cdc

Please sign in to comment.