clear warnings

This commit is contained in:
crinq
2018-03-16 06:38:33 +01:00
parent 47ea302e92
commit 0eb8d13a6f
2 changed files with 2 additions and 1 deletions

View File

@@ -181,6 +181,8 @@ CFLAGS += -std=gnu11
CFLAGS += -ffunction-sections
CFLAGS += -fdata-sections
CFLAGS += -Wall
CFLAGS += -Wmaybe-uninitialized
CFLAGS += -Wuninitialized
CFLAGS += -fno-builtin ## from old
CFLAGS += -nostartfiles
CFLAGS += -Wfatal-errors

View File

@@ -195,7 +195,6 @@ static void rt_func(float period, volatile void *ctx_ptr, volatile hal_pin_inst_
if(count > 80){
int pol = 0;
int read_counter = 0;
int write_counter = 0;
int counter = 0;
for(int i = 0;i < ARRAY_SIZE(yaskawa_reply);i++){