Skip to content

Commit

Permalink
chore: reduce rx/tx buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr committed Apr 18, 2024
1 parent 1cfc671 commit 25054dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions porting/himax/we2/el_wire_we2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ el_err_code_t WireWE2::init() {

this->_is_present = this->i2c ? true : false;

this->rx_ring_buffer = new lwRingBuffer(1024 * 4);
this->tx_ring_buffer = new lwRingBuffer(1024 * 64);
this->rx_ring_buffer = new lwRingBuffer(1024);
this->tx_ring_buffer = new lwRingBuffer(1024 * 24);

this->wire_read_enable(sizeof(this->tx_buffer));

Expand Down

0 comments on commit 25054dc

Please sign in to comment.