Skip to content

Commit

Permalink
Update packet_writer.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dentalfloss1 authored Feb 27, 2024
1 parent 801f6be commit 463529b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packet_writer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ BFstatus BFpacketwriter_create(BFpacketwriter* obj,
if(std::string(format).substr(0, 8) == std::string("generic_") ) {
nsamples = std::atoi((std::string(format).substr(8, std::string(format).length())).c_str());
} else if( std::string(format).substr(0, 6) == std::string("simple") ) {
nsamples = 4096;
nsamples = 2048;
} else if( std::string(format).substr(0, 6) == std::string("chips_") ) {
int nchan = std::atoi((std::string(format).substr(6, std::string(format).length())).c_str());
nsamples = 32*nchan;
Expand Down

0 comments on commit 463529b

Please sign in to comment.