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
f1647b8b
Commit
f1647b8b
authored
Mar 24, 2022
by
Eric Duminil
Browse files
Only ESP8266
parent
e9272a6a
Pipeline
#6046
passed with stage
in 1 minute and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/src/lib/Esp8266EdgeSoftwareSerial/MySoftwareSerial.cpp
View file @
f1647b8b
...
...
@@ -18,7 +18,7 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if defined(ESP8266)
#include
<Arduino.h>
// The Arduino standard GPIO routines are not enough,
...
...
@@ -398,3 +398,4 @@ void ICACHE_RAM_ATTR MySoftwareSerial::rxRead() {
// it gets set even when interrupts are disabled
GPIO_REG_WRITE
(
GPIO_STATUS_W1TC_ADDRESS
,
1
<<
m_rxPin
);
}
#endif
\ No newline at end of file
ampel-firmware/src/lib/Esp8266EdgeSoftwareSerial/MySoftwareSerial.h
View file @
f1647b8b
...
...
@@ -21,6 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef MySoftwareSerial_h
#if defined(ESP8266)
#define MySoftwareSerial_h
#include
<inttypes.h>
...
...
@@ -109,3 +110,4 @@ private:
#endif
#endif
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