Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Jan 3, 2020
1 parent 41e3563 commit 544a800
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Fresh contributions are always welcome. Simple instructions to proceed::

1. Fork Github repository
2. Respect [C style & coding rules](https://github.com/MaJerle/c-code-style) used by the library
3. Make a pull request to develop branch with new features or bug fixes
3. Create a pull request to develop branch with new features or bug fixes

Alternatively you may:

Expand Down
3 changes: 2 additions & 1 deletion esp_at_lib/src/esp/esp_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ espi_parse_string(const char** src, char* dst, size_t dst_len, uint8_t trim) {
--dst_len;
}
while (*p) {
if (*p == '"' && (p[1] == ',' || p[1] == '\r' || p[1] == '\n')) {
if ((*p == '"' && (p[1] == ',' || *p == '\r' || *p == '\n'))
|| (*p == '\r' || *p == '\n')) {
++p;
break;
}
Expand Down

0 comments on commit 544a800

Please sign in to comment.