Skip to content

Commit

Permalink
Revert "Update gen4.c"
Browse files Browse the repository at this point in the history
This reverts commit aca738b.
  • Loading branch information
ReFil committed Nov 30, 2023
1 parent aca738b commit 0ec1718
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/module/drivers/sensor/gen4/gen4.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ static int gen4_i2c_init(const struct device *dev) {
LOG_ERR("ext read status: %d", ret);
return ret;
}
// enable scrolling
uint8_t request3[11] = {0x00, 0x09, 0xec, 0xc3, 0x00, 0x00, 0x02, 0x00, 0x05, 0x00, 0xbf};
ret = i2c_write_dt(&cfg->bus, request3, 11);
if (ret < 0) {
LOG_ERR("Set scroll reg: %d", ret);
return ret;
}

return 0;
}

Expand Down

0 comments on commit 0ec1718

Please sign in to comment.