Don't use deprecated prog_ macro

Fixes: #147
This commit is contained in:
Kristian Sloth Lauszus 2015-04-22 15:48:18 +02:00
parent bce1541026
commit 5053e8dfae
3 changed files with 2 additions and 30 deletions

View file

@ -340,7 +340,7 @@ void printunkdescr( uint8_t* descr_ptr )
/* Print a string from Program Memory directly to save RAM */
void printProgStr(prog_char str[])
void printProgStr(const char* str)
{
char c;
if(!str) return;

View file

@ -336,7 +336,7 @@ void printunkdescr( uint8_t* descr_ptr )
/* Print a string from Program Memory directly to save RAM */
void printProgStr(prog_char str[])
void printProgStr(const char* str)
{
char c;
if(!str) return;

View file

@ -53,34 +53,6 @@ e-mail : support@circuitsathome.com
#define _SFR_BYTE(n) (n)
#endif
#ifndef prog_void
typedef void prog_void;
#endif
#ifndef prog_char
typedef char prog_char;
#endif
#ifndef prog_uchar
typedef unsigned char prog_uchar;
#endif
#ifndef prog_int8_t
typedef int8_t prog_int8_t;
#endif
#ifndef prog_uint8_t
typedef uint8_t prog_uint8_t;
#endif
#ifndef prog_int16_t
typedef int16_t prog_int16_t;
#endif
#ifndef prog_uint16_t
typedef uint16_t prog_uint16_t;
#endif
#ifndef prog_int32_t
typedef int32_t prog_int32_t;
#endif
#ifndef prog_uint32_t
typedef uint32_t prog_uint32_t;
#endif
#ifndef memchr_P
#define memchr_P(str, c, len) memchr((str), (c), (len))
#endif