From 4afcc838733290b030c331e2dabbefe0738e88e8 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 5 Nov 2015 22:08:55 -0800 Subject: [PATCH] Mark MatchedFilter::is_new_decimation_cycle() as const. --- firmware/baseband/matched_filter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/baseband/matched_filter.hpp b/firmware/baseband/matched_filter.hpp index 7925dadc..a1547901 100644 --- a/firmware/baseband/matched_filter.hpp +++ b/firmware/baseband/matched_filter.hpp @@ -77,7 +77,7 @@ private: decimation_phase = (decimation_phase + 1) % decimation_factor_; } - bool is_new_decimation_cycle() { + bool is_new_decimation_cycle() const { return (decimation_phase == 0); } };