Added fallback #define of CH_ENTER
This commit is contained in:
parent
9bde9cedae
commit
589a03b0e5
@ -43,7 +43,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki desktop OS.
|
* This file is part of the Contiki desktop OS.
|
||||||
*
|
*
|
||||||
* $Id: ctk.h,v 1.5 2007/12/20 20:45:06 oliverschmidt Exp $
|
* $Id: ctk.h,v 1.6 2008/11/27 23:40:24 adamdunkels Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -237,6 +237,10 @@ typedef CTK_ARCH_KEY_T ctk_arch_key_t;
|
|||||||
typedef char ctk_arch_key_t;
|
typedef char ctk_arch_key_t;
|
||||||
#endif /* CTK_ARCH_KEY_T */
|
#endif /* CTK_ARCH_KEY_T */
|
||||||
|
|
||||||
|
#ifndef CH_ENTER
|
||||||
|
#define CH_ENTER '\n'
|
||||||
|
#endif /* CH_ENTER */
|
||||||
|
|
||||||
struct ctk_textentry;
|
struct ctk_textentry;
|
||||||
typedef unsigned char (* ctk_textentry_input)(ctk_arch_key_t c,
|
typedef unsigned char (* ctk_textentry_input)(ctk_arch_key_t c,
|
||||||
struct ctk_textentry *t);
|
struct ctk_textentry *t);
|
||||||
|
Loading…
Reference in New Issue
Block a user