Browse Source

ir: include typos

pull/2490/head
Maxim Prokhorov 2 years ago
parent
commit
c0c3dcdc1d
2 changed files with 7 additions and 7 deletions
  1. +6
    -6
      code/espurna/ir.cpp
  2. +1
    -1
      code/scripts/pio_pre.py

+ 6
- 6
code/espurna/ir.cpp View File

@ -12,9 +12,9 @@ https://github.com/crankyoldgit/IRremoteESP8266
To (re)create the string -> Payload decoder .inc files, add `re2c` to the $PATH and 'run' the environment:
```
$ pio run -e ... \
-t espurna/ir_parse_simple.re.cpp.inc \
-t espurna/ir_parse_state.re.cpp.inc \
-t espurna/ir_parse_raw.re.cpp.inc
-t espurna/ir_parse_simple.re.cpp.ipp \
-t espurna/ir_parse_state.re.cpp.ipp \
-t espurna/ir_parse_raw.re.cpp.ipp
```
(see scripts/pio_pre.py and scripts/espurna_utils/build.py for more info)
@ -715,7 +715,7 @@ Payload prepare(StringView type, StringView value, StringView bits, StringView r
return result;
}
#include "ir_parse_simple.re.cpp.inc"
#include "ir_parse_simple.re.cpp.ipp"
} // namespace simple
@ -825,7 +825,7 @@ Payload prepare(StringView frequency, StringView series, StringView delay, declt
return result;
}
#include "ir_parse_raw.re.cpp.inc"
#include "ir_parse_raw.re.cpp.ipp"
} // namespace raw
@ -952,7 +952,7 @@ Payload prepare(StringView type, StringView value, StringView series, StringView
return result;
}
#include "ir_parse_state.re.cpp.inc"
#include "ir_parse_state.re.cpp.ipp"
} // namespace state


+ 1
- 1
code/scripts/pio_pre.py View File

@ -129,5 +129,5 @@ if len(ino) == 1 and ino[0].name == "espurna.ino":
if check_env("ESPURNA_BUILD_SINGLE_SOURCE", "0"):
app_add_builder_single_source(env)
# handle explicit targets that have .re.cpp.inc, build them before falling into the next sconsfile
# handle explicit targets that are used to build .re files, and before falling into the next sconsfile
app_add_target_build_re2c(env)

Loading…
Cancel
Save