summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2025-11-08 20:49:51 +0000
committerQMK Bot <hello@qmk.fm>2025-11-08 20:49:51 +0000
commitfb6d7762b98348ce365050568751776845772a1a (patch)
treeb93c30bb4b3eb8b83cc981f300c4722e0672fe3e /drivers
parent6e35013bc2e30af022cdb8c176e869c5c94ee17a (diff)
parent00eebfb575d6ea0660755cee2c6ccf3b21110312 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sensors/pmw33xx_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sensors/pmw33xx_common.c b/drivers/sensors/pmw33xx_common.c
index 61e309ea27..95d0fe6b4b 100644
--- a/drivers/sensors/pmw33xx_common.c
+++ b/drivers/sensors/pmw33xx_common.c
@@ -108,7 +108,7 @@ __attribute__((weak)) bool pmw33xx_check_signature(uint8_t sensor) {
108 pmw33xx_read(sensor, REG_Inverse_Product_ID), 108 pmw33xx_read(sensor, REG_Inverse_Product_ID),
109 }; 109 };
110 110
111 return memcmp(pmw33xx_firmware_signature, signature_dump, sizeof(signature_dump)) == 0; 111 return memcmp_P(signature_dump, pmw33xx_firmware_signature, sizeof(signature_dump)) == 0;
112} 112}
113 113
114bool pmw33xx_upload_firmware(uint8_t sensor) { 114bool pmw33xx_upload_firmware(uint8_t sensor) {