From 2ba8b179679aa92be46ac7688542b68f2695e04d Mon Sep 17 00:00:00 2001 From: Finlay Davidson Date: Thu, 16 Mar 2023 21:46:16 +0100 Subject: [PATCH] linearapproximation: Move to src/utility --- src/components/battery/BatteryController.cpp | 2 +- src/{components => }/utility/LinearApproximation.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename src/{components => }/utility/LinearApproximation.h (99%) diff --git a/src/components/battery/BatteryController.cpp b/src/components/battery/BatteryController.cpp index d9e198c5..fdb461f8 100644 --- a/src/components/battery/BatteryController.cpp +++ b/src/components/battery/BatteryController.cpp @@ -1,5 +1,5 @@ #include "components/battery/BatteryController.h" -#include "components/utility/LinearApproximation.h" +#include "utility/LinearApproximation.h" #include "drivers/PinMap.h" #include #include diff --git a/src/components/utility/LinearApproximation.h b/src/utility/LinearApproximation.h similarity index 99% rename from src/components/utility/LinearApproximation.h rename to src/utility/LinearApproximation.h index 1fe58d44..34ceb7f2 100644 --- a/src/components/utility/LinearApproximation.h +++ b/src/utility/LinearApproximation.h @@ -5,7 +5,6 @@ namespace Pinetime { namespace Utility { - // based on: https://github.com/SHristov92/LinearApproximation/blob/main/Linear.h template class LinearApproximation {