mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-03 21:25:28 +08:00
add LCD devicecode check
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@479 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
34a9286f69
commit
873d9e9bbd
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user