Compilation problem on 64bits servers

This commit is contained in:
bsongis
2012-04-05 19:47:04 +00:00
parent 576c1ae47b
commit 1828d06122
4 changed files with 14 additions and 0 deletions
+2
View File
@@ -1107,7 +1107,9 @@ uint32_t txPdcUsart( uint8_t *buffer, uint32_t size )
if ( pUsart->US_TNCR == 0 )
{
#ifndef SIMU
pUsart->US_TNPR = (uint32_t)buffer ;
#endif
pUsart->US_TNCR = size ;
pUsart->US_PTCR = US_PTCR_TXTEN ;
return 1 ;