mirror of
https://github.com/rene-dev/stmbl.git
synced 2026-02-05 18:01:21 +08:00
clear warnings
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
@@ -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++){
|
||||
|
||||
Reference in New Issue
Block a user