Remove compiler warnings.

pull/1/head
Richard Barry 12 years ago
parent 5ad3b59783
commit 019c6417d7

@ -154,6 +154,6 @@ version. */
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
/* Disable interrupts and sit in a null loop if assert is called. */
#define configASSERT( x ) if( ( x == 0 ) ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
#define configASSERT( x ) if( ( ( x ) == 0 ) ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
#endif /* FREERTOS_CONFIG_H */

@ -395,7 +395,7 @@ xOLEDMessage xMessage;
unsigned long ulY, ulMaxY;
static char cMessage[ mainMAX_MSG_LEN ];
extern volatile unsigned long ulMaxJitter;
unsigned portBASE_TYPE uxUnusedStackOnEntry, uxUnusedStackNow;
unsigned portBASE_TYPE uxUnusedStackOnEntry;
const unsigned char *pucImage;
/* Functions to access the OLED. The one used depends on the dev kit

@ -260,11 +260,10 @@ unsigned long ulTemp;
void vMACHandleTask( void *pvParameters )
{
unsigned long ulLen = 0, i;
unsigned long i;
unsigned long ulLength, ulInt;
unsigned long *pulBuffer;
static unsigned long ulNextRxBuffer = 0;
portBASE_TYPE xSwitchRequired = pdFALSE;
for( ;; )
{

Loading…
Cancel
Save