On Mon, Jul 13, 2015 at 12:10:33PM +0200, Dinar valeev wrote:
> +#define KEYP_LATIN_A 4
> +#define KEYP_LATIN_Z 29
> +static bool is_latin(uint8_t keypos)
> +{
> + return keypos >= KEYP_LATIN_A || keypos <= KEYP_LATIN_Z;
> +}
&& not ||. Did the compiler not warn you?
Segher