use stdbool.h to define bool type

Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
This commit is contained in:
Amir Hammad 2015-04-05 12:14:47 +02:00
parent 0da537ec69
commit efa0baa458

View file

@ -26,6 +26,7 @@
#include "usbh_config.h"
#include <stdint.h>
#include <stdbool.h>
/* This must be placed around external function declaration for C++
* support. */
@ -39,13 +40,6 @@
BEGIN_DECLS
#ifndef bool
#define bool _Bool
#define false 0
#define true 1
#endif
// set to -1 to unused items
struct _usbh_dev_driver_info {
int32_t deviceClass;