error.c

Go to the documentation of this file.
00001 // ////////////////////////////////////////////////////////////////////////////
00002 // ////////////////////////////////////////////////////////////////////////////
00014     #define     ERROR_C
00015 
00016 
00017 // ////////////////////////////////////////////////////////////////////////////
00018 // Includes
00019 // ////////////////////////////////////////////////////////////////////////////
00020 
00021     #include    "error.h"
00022     #include    "output.h"
00023     #include    "stringtable.h"
00024 
00025 
00026 // ////////////////////////////////////////////////////////////////////////////
00027 // ////////////////////////////////////////////////////////////////////////////
00028 
00029 void PrintCommonError(eCommonErrorCodes eErrorCode)
00030 {
00031     lcd_addr1 = 0;
00032     lcd_addr2 = 0;
00033     StrTbl_GetString(lcdram_row1, STRTBLID_COMMON_ERROR1);
00034     sprintf(lcdram_row2, 
00035             StrTbl_cau8GetStringPointer(STRTBLID_COMMON_ERROR2),
00036             eErrorCode);
00037     lcd_status = LCD_CLR_MASK | LCD_ROW1_MASK | LCD_CENTER1_MASK |
00038                     LCD_ROW2_MASK | LCD_CENTER2_MASK;
00039 }
00040 
00041 // ////////////////////////////////////////////////////////////////////////////
00042 // ////////////////////////////////////////////////////////////////////////////

Generated on Sun Nov 27 20:02:38 2011 for eWicht by  doxygen 1.5.5