Made compiler more picky by adding -Wall to CFLAGS.

This showed up more warnings where some are already fixed.
This commit is contained in:
Markus Fröschle
2012-10-14 09:24:25 +00:00
parent 09238a0e11
commit b49934f552
10 changed files with 63 additions and 77 deletions

View File

@@ -9,6 +9,7 @@
#include "startcf.h"
extern uint32_t Bas_base[];
extern uint8_t tos_base[];
/* imported routines */
extern int mmu_init();
@@ -64,9 +65,9 @@ void wait_1us(void)
void BaS(void)
{
int az_sectors;
int sd_status,i;
int i;
uint8_t *src;
uint8_t *dst;
uint8_t *dst = tos_base;
uint32_t *adr;
az_sectors = sd_card_init();
@@ -113,7 +114,7 @@ copy_firetos:
}
}
if (!DIP_SWITCH & (1 << 6)) /* switch #6 on ? */
if (!(DIP_SWITCH & (1 << 6))) /* switch #6 on ? */
{
if (MCF_PSC3_PSCRB_8BIT == 0x81)
{