mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
parent
bce1541026
commit
5053e8dfae
3 changed files with 2 additions and 30 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue