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
+4
View File
@@ -200,6 +200,8 @@ void eeSwapModels(uint8_t id1, uint8_t id2)
uint32_t spi_PDC_action( register uint8_t *command, register uint8_t *tx, register uint8_t *rx, register uint32_t comlen, register uint32_t count )
{
#ifndef SIMU
register Spi *spiptr ;
register uint32_t condition ;
static uint8_t discard_rx_command[4] ;
@@ -249,6 +251,8 @@ uint32_t spi_PDC_action( register uint8_t *command, register uint8_t *tx, regist
}
spiptr->SPI_IER = condition ;
#endif
return 0 ;
}