forked from forks/qmk_firmware
Cleanup pmw3389.c (#19301)
This commit is contained in:
parent
102f22f7e9
commit
008f1312bb
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue