mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 18:31:13 +03:00
i2clcd: replace #define with const data inside the namespace.
This keeps the constants in the correct scope and avoid potential naming conflicts with other files. Signed-off-by: Wouter van Verre <wouter.van.verre@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
31c4f470fe
commit
479a9553f6
@ -30,7 +30,7 @@
|
||||
|
||||
namespace upm
|
||||
{
|
||||
#define DISPLAY_CMD_SET_NORMAL_1308 0xA6
|
||||
const uint8_t DISPLAY_CMD_SET_NORMAL_1308 = 0xA6;
|
||||
|
||||
/**
|
||||
* @library i2clcd
|
||||
|
Reference in New Issue
Block a user