mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
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