Skip to content

Commit

Permalink
C++ format
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Dec 28, 2024
1 parent 15d7e4d commit aa97f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piper_ros/src/piper_ros/piper_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ void PiperNode::execute_callback(
std::vector<int16_t> data(&audio_buffer[i], &audio_buffer[i + min_size]);

int pad_size = this->chunk_ - data.size();
if (pad_size >0){
if (pad_size > 0) {
data.insert(data.end(), pad_size, 0);
}

Expand Down

0 comments on commit aa97f71

Please sign in to comment.