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;