1
0
Fork 0
forked from forks/qmk_firmware

Cleanup pmw3389.c (#19301)

This commit is contained in:
Alabastard-64 2022-12-12 14:14:48 -07:00 committed by GitHub
parent 102f22f7e9
commit 008f1312bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,8 +8,6 @@
#include "pmw33xx_common.h" #include "pmw33xx_common.h"
#include "progmem.h" #include "progmem.h"
extern const size_t pmw33xx_number_of_sensors;
uint16_t pmw33xx_get_cpi(uint8_t sensor) { uint16_t pmw33xx_get_cpi(uint8_t sensor) {
if (sensor >= pmw33xx_number_of_sensors) { if (sensor >= pmw33xx_number_of_sensors) {
return 0; return 0;