Dear Michal Simek, [...] > > > > Add const int mask for the above. > > or macro should be fine. const int is better due to type checking . [...] Thanks! Best regards, Marek Vasut