-
Couldn't load subscription status.
- Fork 3k
Closed
Description
Description of defect
i2c_compile.h has an unclosed bracket:
mbed-os/targets/TARGET_STM/TARGET_STM32F4/i2c_device.h
Lines 21 to 23 in 14e5d30
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif |
This is not a functional problem today since the file is only included from .c files, not .cpp files. It upsets static analysis tools like clang-tidy and will break if you try to include file from a c++ compilation unit.
Target(s) affected by this defect ?
STM32F4x
Toolchain(s) (name and version) displaying this defect ?
N/A
What version of Mbed-os are you using (tag or sha) ?
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
Mbed Studio 1.4.1, ARMC6
How is this defect reproduced ?
Code inspection