forked from drath/libratbag
hidpp10: fix comment
Looks like the page 1 is not a RAM page but a directory, and is in the flash too. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
@@ -438,7 +438,8 @@ hidpp10_get_profile(struct hidpp10_device *dev, int8_t number, struct hidpp10_pr
|
||||
int res;
|
||||
struct hidpp10_profile profile;
|
||||
|
||||
/* Page 0-1 are RAM
|
||||
/* Page 0 is RAM
|
||||
* Page 1 is the profile directory
|
||||
* Page 2-31 are Flash
|
||||
* -> profiles are stored in the Flash */
|
||||
number += 2;
|
||||
|
||||
Reference in New Issue
Block a user