linearapproximation: Move to src/utility

This commit is contained in:
Finlay Davidson 2023-03-16 21:46:16 +01:00 committed by Riku Isokoski
parent 9641fd7308
commit 2ba8b17967
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#include "components/battery/BatteryController.h"
#include "components/utility/LinearApproximation.h"
#include "utility/LinearApproximation.h"
#include "drivers/PinMap.h"
#include <hal/nrf_gpio.h>
#include <nrfx_saadc.h>

View File

@ -5,7 +5,6 @@
namespace Pinetime {
namespace Utility {
// based on: https://github.com/SHristov92/LinearApproximation/blob/main/Linear.h
template <typename Key, typename Value, std::size_t Size>
class LinearApproximation {