2012-03-27 12:06:52 +02:00
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Common data types
|
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* Copyright (c) 2012 Ben Blazak <benblazak.dev@gmail.com>
|
|
|
|
* Released under The MIT License (MIT) (see "license.md")
|
|
|
|
* Project located at <https://github.com/benblazak/ergodox-firmware>
|
|
|
|
* ------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef DATA_TYPES_h
|
|
|
|
#define DATA_TYPES_h
|
|
|
|
|
2012-04-05 12:08:20 +02:00
|
|
|
#include <stdint.h>
|
2012-03-27 12:06:52 +02:00
|
|
|
|
2012-04-05 12:08:20 +02:00
|
|
|
#define bool _Bool
|
2012-03-27 12:06:52 +02:00
|
|
|
#define true ((bool)1)
|
|
|
|
#define false ((bool)0)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|