diff options
-rw-r--r-- | src/cirque.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cirque.rs b/src/cirque.rs index 69f9903..53c9dde 100644 --- a/src/cirque.rs +++ b/src/cirque.rs @@ -12,8 +12,8 @@ use stm32f1xx_hal::rcc::Clocks; const I2C_ADDR: u8 = 0x2a; // the maximum reportable units -const MAX_X: u16 = 2047; -const MAX_Y: u16 = 1535; +const MAX_X: u16 = 2048; +const MAX_Y: u16 = 1536; // the lowest reachable units const CLAMP_X_MIN: u16 = 127; |