From a9406804db90587228c7224452062cf172b59fb8 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Mon, 29 Jul 2024 23:56:10 -0500 Subject: [PATCH] Fix register type in PatriotViper and PatriotViperSteel controllers --- Controllers/PatriotViperController/PatriotViperController.h | 4 ++-- .../PatriotViperSteelController/PatriotViperSteelController.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Controllers/PatriotViperController/PatriotViperController.h b/Controllers/PatriotViperController/PatriotViperController.h index a49811ad..88f886e1 100644 --- a/Controllers/PatriotViperController/PatriotViperController.h +++ b/Controllers/PatriotViperController/PatriotViperController.h @@ -15,8 +15,8 @@ #include #include "i2c_smbus.h" -typedef unsigned char viper_dev_id; -typedef unsigned short viper_register; +typedef unsigned char viper_dev_id; +typedef unsigned char viper_register; enum { diff --git a/Controllers/PatriotViperSteelController/PatriotViperSteelController.h b/Controllers/PatriotViperSteelController/PatriotViperSteelController.h index 389d2aee..14d5afe2 100644 --- a/Controllers/PatriotViperSteelController/PatriotViperSteelController.h +++ b/Controllers/PatriotViperSteelController/PatriotViperSteelController.h @@ -13,7 +13,7 @@ #include "i2c_smbus.h" typedef unsigned char viper_dev_id; -typedef unsigned short viper_register; +typedef unsigned char viper_register; enum {