From 972073a11abb5cf0b382b1a74298185ee4a9466a Mon Sep 17 00:00:00 2001 From: bernie Date: Fri, 17 Feb 2006 22:24:49 +0000 Subject: [PATCH] Fix undefined preprocessor symbol. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@523 38d2e660-2303-0410-9eaa-f027e97ec537 --- gfx/gfx.h | 19 +++++++++++-------- mware/pgm.h | 1 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/gfx/gfx.h b/gfx/gfx.h index fb7e615f..1def1e88 100755 --- a/gfx/gfx.h +++ b/gfx/gfx.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.10 2006/02/17 22:24:40 bernie + *#* Fix undefined preprocessor symbol. + *#* *#* Revision 1.9 2006/02/15 09:10:15 bernie *#* Implement prop fonts; Fix algo styles. *#* @@ -38,6 +41,14 @@ #include /* CONFIG_GFX_* */ +/** + * \name Known pixel formats for bitmap representation. + * \{ + */ +#define BITMAP_FMT_PLANAR_H_MSB 1 /**< Planar pixels, horizontal bytes, MSB left. */ +#define BITMAP_FMT_PLANAR_V_LSB 2 /**< Planar pixels, vertical bytes, LSB top. */ +/* \} */ + #if !defined(CONFIG_BITMAP_FMT) || (CONFIG_BITMAP_FMT != BITMAP_FMT_PLANAR_H_MSB && CONFIG_BITMAP_FMT != BITMAP_FMT_PLANAR_V_LSB) #error CONFIG_BITMAP_FMT must be defined to either BITMAP_FMT_PLANAR_H_LSB or BITMAP_FMT_PLANAR_V_LSB #endif @@ -48,14 +59,6 @@ #error CONFIG_GFX_TEXT must be defined to either 0 or 1 #endif -/** - * \name Known pixel formats for bitmap representation. - * \{ - */ -#define BITMAP_FMT_PLANAR_H_MSB 1 /**< Planar pixels, horizontal bytes, MSB left. */ -#define BITMAP_FMT_PLANAR_V_LSB 2 /**< Planar pixels, vertical bytes, LSB top. */ -/* \} */ - EXTERN_C_BEGIN /*! Common type for coordinates expressed in pixel units */ diff --git a/mware/pgm.h b/mware/pgm.h index ea28043e..cb81e548 100755 --- a/mware/pgm.h +++ b/mware/pgm.h @@ -24,6 +24,7 @@ #include #include /* For intXX_t */ +#include /* For CPU_HARVARD */ #if CPU_AVR -- 2.34.1