Skip to content

Commit 15c01f2

Browse files
author
Nikitarc
committed
Update tusb_option.h
Makes ISO compiler happy
1 parent c422b9e commit 15c01f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tusb_option.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
#ifndef _TUSB_OPTION_H_
2828
#define _TUSB_OPTION_H_
2929

30+
// To avoid GCC compiler warnings when -pedantic option is used (strict ISO C)
31+
typedef int make_iso_compilers_happy ;
32+
3033
#include "common/tusb_compiler.h"
3134

3235
#define TUSB_VERSION_MAJOR 0

0 commit comments

Comments
 (0)