Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 778b6f49 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

DO NOT MERGE: fix build try #2

On klp-dev, UINT16_MAX isn't available unless __STDINT_LIMITS
is defined, which it's not for this code. This isn't relevant
for later branches due to bionic commit
e2a292d278b94fec3d078b1f1b27c1f89942c276

Don't use UINT16_MAX when we can just hardcode 65535.

Bug: 23905002
Change-Id: Ia1fd0f749cb7a4d19866075abc28ed6960424e54
parent 834ac204
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ enum {
/*
 * Maximum number of samples supported per motion event.
 */
#define MAX_SAMPLES UINT16_MAX
#define MAX_SAMPLES 65535

/*
 * Maximum pointer id value supported in a motion event.