Replaced static const values with defines.

This commit is contained in:
bkaradzic 2014-01-18 22:21:10 -08:00
parent 5a2ee2770f
commit 59a76342f2

View file

@ -3,10 +3,10 @@
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
static const uint8_t CAMERA_KEY_UP = 1u << 1;
static const uint8_t CAMERA_KEY_DOWN = 1u << 2;
static const uint8_t CAMERA_KEY_LEFT = 1u << 3;
static const uint8_t CAMERA_KEY_RIGHT = 1u << 4;
#define CAMERA_KEY_UP UINT8_C(0x1)
#define CAMERA_KEY_DOWN UINT8_C(0x2)
#define CAMERA_KEY_LEFT UINT8_C(0x4)
#define CAMERA_KEY_RIGHT UINT8_C(0x8)
///
void cameraSetPosition(float* _pos);