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:
Wouter van Verre
2015-04-20 16:35:19 +01:00
committed by Mihai Tudor Panu
parent 31c4f470fe
commit 479a9553f6
4 changed files with 41 additions and 41 deletions

View File

@ -30,7 +30,7 @@
namespace upm
{
#define DISPLAY_CMD_SET_NORMAL_1308 0xA6
const uint8_t DISPLAY_CMD_SET_NORMAL_1308 = 0xA6;
/**
* @library i2clcd