Incorporate and fix upstream PR 1635

This commit is contained in:
jpirnay
2026-04-16 11:01:06 +02:00
parent 0a472d9dbb
commit 18b7e30f57
3 changed files with 39 additions and 26 deletions
+5
View File
@@ -38,6 +38,11 @@
#define QMI8658_WHO_AM_I_REG 0x00 // WHO_AM_I command code
#define QMI8658_WHO_AM_I_VALUE 0x05 // WHO_AM_I expected value
namespace X3GPIO {
// Read a 16-bit little-endian I2C register. Returns false on bus error.
bool readI2CReg16LE(uint8_t addr, uint8_t reg, uint16_t* outValue);
} // namespace X3GPIO
class HalGPIO {
#if CROSSPOINT_EMULATED == 0
InputManager inputMgr;