UINT8 s, l; PUINT8 buf;

xWriteCH376Cmd( CMD01_RD_USB_DATA0 ); s = l = xReadWriteCH376Data(0xFF); /* 長度 */ if ( l ) { do { *buf = xReadWriteCH376Data(0xFF); buf++; } while ( -- l ); } xEndCH376Cmd( ); 在編譯時出錯,我聲明的UINT8和PUINT8如下 #ifndef UINT8 typedef unsigned char UINT8; #endif

#ifndef *PUINT8 typedef unsigned char flash *PUINT8; #endif

PUINT8如果不加上flash,給該類型指針賦值字符串是不通過,加上flash后 *buf = xReadWriteCH376Data(0xFF);這句語句出錯,請問怎么解決?


熱門產(chǎn)品 : USB3.0 HUB控制器:CH634