From 0ece3c1a9ee6c7512700a1d602e6ea4b8a1037a9 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Thu, 24 Sep 2015 14:13:39 -0400 Subject: [PATCH] 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 --- src/hidpp10.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hidpp10.c b/src/hidpp10.c index 4b30d307..2eaed646 100644 --- a/src/hidpp10.c +++ b/src/hidpp10.c @@ -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;