Skip to content

Commit de64826

Browse files
committed
Change line format to LF, fix build for platform with no PROGMEM support
1 parent 2acfc56 commit de64826

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ install:
1919
- pip install -U platformio
2020

2121
script:
22-
- platformio ci --lib="." --board=nanoatmega328 --board=esp12e
22+
- platformio ci --lib="." --board=nanoatmega328 --board=esp12e --board=leonardo

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/pvizeli/CmdParser.svg?branch=master)]
1+
[![Build Status](https://travis-ci.org/pvizeli/CmdParser.svg?branch=master)](https://travis-ci.org/pvizeli/CmdParser)
22

33
# CmdParser
44
A simple and most powerfull cmd parser with small memory footprint and realy

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=CmdParser
2-
version=1.1
2+
version=1.2
33
author=Pascal Vizeli <pvizeli@syshack.ch>
44
maintainer=Pascal Vizeli <pvizeli@syshack.ch>
55
sentence=A simple and most powerfull cmd parser with small memory footprint

src/CmdBuffer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* https://github.com/pvizeli/CmdParser
55
*/
66

7-
#ifndef CMDBUFFER_H
8-
#define CMDBUFFER_H
7+
#ifndef _CMDBUFFER_H_
8+
#define _CMDBUFFER_H_
99

1010
#include <stdint.h>
1111
#include <string.h>

src/CmdCallback.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* https://github.com/pvizeli/CmdParser
55
*/
66

7-
#ifndef CMDCALLBACK_H
8-
#define CMDCALLBACK_H
7+
#ifndef _CMDCALLBACK_H_
8+
#define _CMDCALLBACK_H_
99

1010
#if defined(__AVR__)
1111
#include <avr/pgmspace.h>
@@ -163,6 +163,7 @@ class _CmdCallback : public CmdCallbackObject
163163
size_t m_nextElement;
164164
};
165165

166+
#if defined(__AVR__) || defined(ESP8266)
166167
/**
167168
*
168169
*
@@ -184,6 +185,8 @@ class CmdCallback_P : public _CmdCallback<STORESIZE, CmdParserString_P>
184185
}
185186
};
186187

188+
#endif
189+
187190
/**
188191
*
189192
*

0 commit comments

Comments
 (0)