Skip to content

Commit

Permalink
fix: fix build and config for box configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
finger563 committed Nov 10, 2023
1 parent a8903a8 commit e1a5b72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/box-emu-hal/include/box.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ using DisplayDriver = espp::St7789;

// touch
static constexpr bool touch_swap_xy = false;
static constexpr bool touch_invert_x = false;
static constexpr bool touch_invert_x = true;
static constexpr bool touch_invert_y = false;
static constexpr gpio_num_t touch_interrupt = GPIO_NUM_3;
using TouchDriver = espp::Tt21100;
Expand Down
2 changes: 1 addition & 1 deletion components/box-emu-hal/src/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void init_input() {
std::placeholders::_2, std::placeholders::_3),
#endif
#if TOUCH_DRIVER_USE_READ
.read = std::bind(&espp::I2c::read_at_register, internal_i2c.get(), std::placeholders::_1,
.read = std::bind(&espp::I2c::read, internal_i2c.get(), std::placeholders::_1,
std::placeholders::_2, std::placeholders::_3),
#endif
#if TOUCH_DRIVER_USE_WRITE_READ
Expand Down

0 comments on commit e1a5b72

Please sign in to comment.