Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
f7a545b9
Unverified
Commit
f7a545b9
authored
Jul 23, 2019
by
Johny Mattsson
Committed by
GitHub
Jul 23, 2019
Browse files
Evict c_types.h, tidy up a other c_prefixes. (#2841)
parent
526d21da
Changes
81
Show whitespace changes
Inline
Side-by-side
app/modules/crypto.c
View file @
f7a545b9
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
#include "module.h"
#include "module.h"
#include "lauxlib.h"
#include "lauxlib.h"
#include "platform.h"
#include "platform.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include <std
lib
.h>
#include <std
def
.h>
#include "vfs.h"
#include "vfs.h"
#include "../crypto/digests.h"
#include "../crypto/digests.h"
#include "../crypto/mech.h"
#include "../crypto/mech.h"
...
...
app/modules/file.c
View file @
f7a545b9
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
#include "lmem.h"
#include "lmem.h"
#include "platform.h"
#include "platform.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "vfs.h"
#include "vfs.h"
#include <string.h>
#include <string.h>
...
...
app/modules/gdbstub.c
View file @
f7a545b9
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#include "module.h"
#include "module.h"
#include "lauxlib.h"
#include "lauxlib.h"
#include "platform.h"
#include "platform.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "user_interface.h"
#include "user_interface.h"
#include "../esp-gdbstub/gdbstub.h"
#include "../esp-gdbstub/gdbstub.h"
...
...
app/modules/gpio.c
View file @
f7a545b9
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#include "lmem.h"
#include "lmem.h"
#include "platform.h"
#include "platform.h"
#include "user_interface.h"
#include "user_interface.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include <string.h>
#include <string.h>
#include "gpio.h"
#include "gpio.h"
#include "hw_timer.h"
#include "hw_timer.h"
...
...
app/modules/gpio_pulse.c
View file @
f7a545b9
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include "lmem.h"
#include "lmem.h"
#include "platform.h"
#include "platform.h"
#include "user_interface.h"
#include "user_interface.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include <string.h>
#include <string.h>
#include "gpio.h"
#include "gpio.h"
#include "hw_timer.h"
#include "hw_timer.h"
...
...
app/modules/mdns.c
View file @
f7a545b9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <alloca.h>
#include <alloca.h>
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "lwip/ip_addr.h"
#include "lwip/ip_addr.h"
#include "nodemcu_mdns.h"
#include "nodemcu_mdns.h"
#include "user_interface.h"
#include "user_interface.h"
...
...
app/modules/mqtt.c
View file @
f7a545b9
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
#include "platform.h"
#include "platform.h"
#include <string.h>
#include <string.h>
#include <std
lib
.h>
#include <std
def
.h>
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "mem.h"
#include "mem.h"
#include "lwip/ip_addr.h"
#include "lwip/ip_addr.h"
#include "espconn.h"
#include "espconn.h"
...
...
app/modules/net.c
View file @
f7a545b9
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
#include <string.h>
#include <string.h>
#include <strings.h>
#include <strings.h>
#include <std
lib
.h>
#include <std
def
.h>
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "mem.h"
#include "mem.h"
#include "osapi.h"
#include "osapi.h"
#include "lwip/err.h"
#include "lwip/err.h"
...
...
app/modules/node.c
View file @
f7a545b9
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "platform.h"
#include "platform.h"
#include "lflash.h"
#include "lflash.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include <string.h>
#include <string.h>
#include "driver/uart.h"
#include "driver/uart.h"
#include "user_interface.h"
#include "user_interface.h"
...
...
app/modules/pwm.c
View file @
f7a545b9
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include "module.h"
#include "module.h"
#include "lauxlib.h"
#include "lauxlib.h"
#include "platform.h"
#include "platform.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
// Lua: realfrequency = setup( id, frequency, duty )
// Lua: realfrequency = setup( id, frequency, duty )
static
int
lpwm_setup
(
lua_State
*
L
)
static
int
lpwm_setup
(
lua_State
*
L
)
...
...
app/modules/pwm2.c
View file @
f7a545b9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
// Module for interfacing with PWM2 driver
// Module for interfacing with PWM2 driver
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "lauxlib.h"
#include "lauxlib.h"
#include "module.h"
#include "module.h"
#include "driver/pwm2.h"
#include "driver/pwm2.h"
...
...
app/modules/rotary.c
View file @
f7a545b9
...
@@ -9,10 +9,10 @@
...
@@ -9,10 +9,10 @@
#include "module.h"
#include "module.h"
#include "lauxlib.h"
#include "lauxlib.h"
#include "platform.h"
#include "platform.h"
#include "c_types.h"
#include <stdint.h>
#include <stdlib.h>
#include "user_interface.h"
#include "user_interface.h"
#include "driver/rotary.h"
#include "driver/rotary.h"
#include <stdlib.h>
#define MASK(x) (1 << ROTARY_ ## x ## _INDEX)
#define MASK(x) (1 << ROTARY_ ## x ## _INDEX)
...
...
app/modules/somfy.c
View file @
f7a545b9
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
//#define NODE_DEBUG
//#define NODE_DEBUG
#include <stdint.h>
#include "os_type.h"
#include "os_type.h"
#include "osapi.h"
#include "osapi.h"
#include "sections.h"
#include "sections.h"
...
...
app/modules/sqlite3.c
View file @
f7a545b9
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#define LSQLITE_OMIT_UPDATE_HOOK 1
#define LSQLITE_OMIT_UPDATE_HOOK 1
#define SQLITE_OMIT_PROGRESS_CALLBACK 1
#define SQLITE_OMIT_PROGRESS_CALLBACK 1
#include <
c_
stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <assert.h>
#include <assert.h>
...
...
app/modules/switec.c
View file @
f7a545b9
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "module.h"
#include "module.h"
#include "lauxlib.h"
#include "lauxlib.h"
#include "platform.h"
#include "platform.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "task/task.h"
#include "task/task.h"
#include "driver/switec.h"
#include "driver/switec.h"
...
...
app/modules/tls.c
View file @
f7a545b9
...
@@ -9,9 +9,9 @@
...
@@ -9,9 +9,9 @@
#include "lmem.h"
#include "lmem.h"
#include <string.h>
#include <string.h>
#include <std
lib
.h>
#include <std
def
.h>
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "mem.h"
#include "mem.h"
#include "lwip/ip_addr.h"
#include "lwip/ip_addr.h"
#include "espconn.h"
#include "espconn.h"
...
...
app/modules/tmr.c
View file @
f7a545b9
...
@@ -51,7 +51,7 @@ tmr.softwd(int)
...
@@ -51,7 +51,7 @@ tmr.softwd(int)
#include "module.h"
#include "module.h"
#include "lauxlib.h"
#include "lauxlib.h"
#include "platform.h"
#include "platform.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "user_interface.h"
#include "user_interface.h"
#include "pm/swtimer.h"
#include "pm/swtimer.h"
...
...
app/modules/uart.c
View file @
f7a545b9
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#include "lauxlib.h"
#include "lauxlib.h"
#include "platform.h"
#include "platform.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include <string.h>
#include <string.h>
#include "rom.h"
#include "rom.h"
...
...
app/modules/websocket.c
View file @
f7a545b9
...
@@ -13,9 +13,9 @@
...
@@ -13,9 +13,9 @@
#include "platform.h"
#include "platform.h"
#include "module.h"
#include "module.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include <string.h>
#include <string.h>
#include <std
lib
.h>
#include <std
def
.h>
#include "websocketclient.h"
#include "websocketclient.h"
...
...
app/modules/wifi.c
View file @
f7a545b9
...
@@ -7,10 +7,10 @@
...
@@ -7,10 +7,10 @@
#include "platform.h"
#include "platform.h"
#include <string.h>
#include <string.h>
#include <std
lib
.h>
#include <std
def
.h>
#include "ctype.h"
#include "ctype.h"
#include
"c_types
.h
"
#include
<stdint
.h
>
#include "user_interface.h"
#include "user_interface.h"
#include "wifi_common.h"
#include "wifi_common.h"
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment