Fix werror flag and warnings (#321)
* fix Werror flag * strdup implementation fix * fix irda and lfrdid printf * remove unused position * doubtful type fix * type fix in EXTI interrupt * fix warnings in CubeWB, need to fork ST repo * onewire fixes * fork STM32WB Cube repo
This commit is contained in:
@@ -43,7 +43,8 @@ void* calloc(size_t count, size_t size) {
|
||||
}
|
||||
|
||||
char* strdup(const char* s) {
|
||||
if(s == NULL) {
|
||||
const char* s_null = s;
|
||||
if(s_null == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user