提交 873d9e9b 编写于 作者: wuyangyong's avatar wuyangyong

add LCD devicecode check

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@479 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 34a9286f
...@@ -256,7 +256,7 @@ void ili9325_Initializtion(void) ...@@ -256,7 +256,7 @@ void ili9325_Initializtion(void)
if( (DeviceCode != 0x9325) && (DeviceCode != 0x9328) && (DeviceCode != 0x7783) ) if( (DeviceCode != 0x9325) && (DeviceCode != 0x9328) && (DeviceCode != 0x7783) )
{ {
printf("Invalid LCD ID:%08X\r\n",DeviceCode); printf("Invalid LCD ID:%08X\r\n",DeviceCode);
printf("Please check you hardware.") printf("Please check you hardware.");
while(1); while(1);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册