Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
dc148588
Commit
dc148588
authored
Feb 07, 2022
by
Eric Duminil
Browse files
Moving includes from h to cpp
parent
649d7fdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/util.cpp
View file @
dc148588
#include
"util.h"
#include
"sensor_console.h"
#include
"config.h"
#include
"sensor_console.h"
#include
<WiFiUdp.h>
// required for NTP
#include
"src/lib/NTPClient-master/NTPClient.h"
// NTP
namespace
config
{
const
char
*
ntp_server
=
NTP_SERVER
;
...
...
ampel-firmware/util.h
View file @
dc148588
#ifndef AMPEL_UTIL_H_INCLUDED
#define AMPEL_UTIL_H_INCLUDED
#include
<Arduino.h>
#include
"config.h"
#include
"sensor_console.h"
#include
<WiFiUdp.h>
// required for NTP
#include
"src/lib/NTPClient-master/NTPClient.h"
// NTP
#if defined(ESP8266)
# include <ESP8266WiFi.h> // required to get MAC address
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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