Skip to content

Commit

Permalink
Removed commented-out/unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-b committed Dec 14, 2024
1 parent 4e57daa commit 11b6950
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Meshtastic/Model/Metrics Visualization/MetricsChartSeries.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ class MetricsChartSeries: ObservableObject {
}
}

// // Return the maximum value for this series attribute given the data
// func max(forData: [TelemetryEntity]) -> Float? {
// return forData.compactMap { self.valueClosure($0) }.max()
// }
//
// // Return the minimum value for this series attribute given the data
// func min(forData: [TelemetryEntity]) -> Float? {
// return forData.compactMap { self.valueClosure($0) }.min()
// }
//
// Return the value for this series attribute given a full row of telemetry data
func valueFor(_ te: TelemetryEntity) -> Float? {
return self.valueClosure(te)?.floatValue
Expand Down

0 comments on commit 11b6950

Please sign in to comment.