mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Make the LiquidCrystal row offsets uint8_t instead of int
Since these are memory addresses, there is no need to make them signed. Furthermore, the HD44780 chip supports memory addresses up to 0x67, so uint8_t shouldbe sufficient.
This commit is contained in:
@ -102,7 +102,7 @@ private:
|
|||||||
uint8_t _initialized;
|
uint8_t _initialized;
|
||||||
|
|
||||||
uint8_t _numlines,_currline;
|
uint8_t _numlines,_currline;
|
||||||
int _row_offsets[4];
|
uint8_t _row_offsets[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user