From 9eefd56410cf2ca2b9c31bbf3cc3f5901609b71c Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Mon, 11 Apr 2016 09:54:42 -0700 Subject: [PATCH] StreamInput: notify other core every fourth of FIFO written. --- firmware/baseband/stream_input.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/baseband/stream_input.hpp b/firmware/baseband/stream_input.hpp index cfb2a00a..1b1ec552 100644 --- a/firmware/baseband/stream_input.hpp +++ b/firmware/baseband/stream_input.hpp @@ -64,7 +64,7 @@ public: private: const size_t K; - const uint64_t event_bytes_mask = (1ULL << 12) - 1; + const uint64_t event_bytes_mask = (1ULL << (K - 2)) - 1; uint64_t bytes_written = 0; std::unique_ptr data; FIFO fifo;