feat: remove FPS global define from libpasada

This commit is contained in:
2026-05-19 22:46:28 +02:00
parent 29019f61e5
commit b333712d9c
9 changed files with 14 additions and 45 deletions

View File

@@ -13,10 +13,6 @@ StepDetector::StepDetector(double fps, StepListener *listener, bool debug) :
debug(debug)
{}
#if (FPS != 60)
#error "FPS must currently be 60, as highpass taps are pre-computed for that value"
#endif
void StepDetector::filter(std::vector<float> values) {
// TODO: later on, we should use a vector projection towards gravity
auto s1 = (double) values[1]; // take y-axis value for now