Skip to content

Commit ffc9eba

Browse files
authored
Fix missing stdint.h declarations if mgos_dht.h is the first include in client app (#5)
* Add missing include * Move stdint.h in mgos_dht.h
1 parent 3392941 commit ffc9eba

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

include/mgos_dht.h

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
#include <math.h>
2828
#include <stdbool.h>
29+
#include <stdint.h>
2930

3031
#ifdef __cplusplus
3132
extern "C" {

src/mgos_dht.c

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
* [mgos_dht.c](https://github.com/mongoose-os-libs/dht/blob/master/src/mgos_dht.c)
2121
*/
2222

23-
#include <stdint.h>
2423
#include "mgos_dht.h"
2524
#include "mgos_gpio.h"
2625
#include "mgos_hal.h"

0 commit comments

Comments
 (0)