Minor core header cleanups

This commit is contained in:
Angus Gratton 2015-06-18 09:00:02 +10:00
parent ad37abda8b
commit 2c1b1ab141
3 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,5 +1,6 @@
*~ *~
*# *#
.#*
GPATH GPATH
GRTAGS GRTAGS
GTAGS GTAGS
@ -8,3 +9,4 @@ firmware
.gdb_history .gdb_history
local.mk local.mk
local.h local.h
screenlog.*

View file

@ -13,7 +13,7 @@
#define UNUSED __attributed((unused)) #define UNUSED __attributed((unused))
#ifndef BIT #ifndef BIT
#define BIT(X) (1<<X) #define BIT(X) (1<<(X))
#endif #endif
/* Use this macro to store constant values in IROM flash instead /* Use this macro to store constant values in IROM flash instead

View file

@ -7,6 +7,7 @@
* BSD Licensed as described in the file LICENSE * BSD Licensed as described in the file LICENSE
*/ */
#ifndef _ESP_GPIO_H #ifndef _ESP_GPIO_H
#define _ESP_GPIO_H
#include <stdbool.h> #include <stdbool.h>
#include "esp/registers.h" #include "esp/registers.h"
#include "esp/iomux.h" #include "esp/iomux.h"