Extended reporting options (#16741)

This commit is contained in:
Gurmeet Athwal
2020-05-06 10:04:04 +05:30
committed by GitHub
parent 9ce950e3c1
commit a4c981469e
15 changed files with 268 additions and 45 deletions

View File

@ -53,6 +53,9 @@
// AVR PROGMEM extension for sprintf_P
#define S_FMT "%S"
// AVR PROGMEM extension for string define
#define PGMSTR(NAM,STR) const char NAM[] PROGMEM = STR
#ifndef CRITICAL_SECTION_START
#define CRITICAL_SECTION_START() unsigned char _sreg = SREG; cli()
#define CRITICAL_SECTION_END() SREG = _sreg