Skip to content

Commit

Permalink
allow non 1MHz samp rates
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Apr 29, 2024
1 parent 1089197 commit 078e9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ int main(int argc, char **argv) {
for (; it != offsets.end(); ++it) {
auto offset = *it;
auto udp_port = udp_start + std::distance(offsets.begin(), it);
auto decimation = 32.0f;
auto decimation = samp_rate / 1000000.0f * 32.0f;
auto channel_rate = 36000;
auto sps = 2;
auto nfilts = 32;
Expand Down

0 comments on commit 078e9cf

Please sign in to comment.