LiquidCrystal icon indicating copy to clipboard operation
LiquidCrystal copied to clipboard

Mark character lines array as const

Open PBrunot opened this issue 10 months ago • 2 comments

Characters lines may be defined as static constexpr arrays in a client application, but passing the data to the LiquidLibrary requires a const_cast because it is not flagged const in the API, even if in practice uint8_t are not modified.

This PR will allow to remove the const_cast in client code.

PBrunot avatar Apr 26 '24 14:04 PBrunot