Skip to content

Commit dc567d1

Browse files
authored
Merge pull request #1 from thekakkun/fix-outdated-imports
Fix outdated imports
2 parents e47f579 + 730fee2 commit dc567d1

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

firmware/src/display.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "config_server.h"
22
#include "display.h"
3+
#include <driver/touch_sensor.h>
4+
#include <soc/touch_sensor_channel.h>
35

46
void adjust_brightness(int min_brightness, int max_brightness)
57
{

firmware/src/init.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#include "config_server.h"
22
#include "init.h"
3+
#include <driver/touch_sensor_common.h>
4+
#include <driver/touch_sensor.h>
5+
#include <soc/touch_sensor_channel.h>
36

47
void init_brightness()
58
{

firmware/src/init.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ void init_font_table();
3535

3636
void init_power_save();
3737

38-
_VOID _EXFUN(tzset, (_VOID));
39-
int _EXFUN(setenv,
40-
(const char *__string, const char *__value, int __overwrite));
38+
// _VOID _EXFUN(tzset, (_VOID));
39+
// int _EXFUN(setenv,
40+
// (const char *__string, const char *__value, int __overwrite));
4141
void init_sntp();
4242

4343
#endif

0 commit comments

Comments
 (0)