diff --git a/firmware/util/containers/table_helper.h b/firmware/util/containers/table_helper.h index 4605a332c1..711c2bb95f 100644 --- a/firmware/util/containers/table_helper.h +++ b/firmware/util/containers/table_helper.h @@ -129,6 +129,7 @@ typedef Map3D map /** * @param precision for example '0.1' for one digit fractional part. Default to 0.01, two digits. + * see also: ensureArrayIsAscending */ template void setLinearCurve(TValue (&array)[TSize], float from, float to, float precision = 0.01f) { diff --git a/firmware/util/math/efi_interpolation.h b/firmware/util/math/efi_interpolation.h index 309e47f54c..7b3f08b263 100644 --- a/firmware/util/math/efi_interpolation.h +++ b/firmware/util/math/efi_interpolation.h @@ -30,6 +30,7 @@ float interpolateMsg(const char *msg, float x1, float y1, float x2, float y2, fl // _technically_ and _theoretically_ we can support flat line for both bins and values but I am not sure if // such a rare case is something we want to support +// see also: setLinearCurve template void ensureArrayIsAscending(const char* msg, const TValue (&values)[TSize]) { for (size_t i = 0; i < TSize - 1; i++) {