Skip to content

unmatched bracket in stm32F4 i2c_device.h #14676

@rotu

Description

@rotu

Description of defect

i2c_compile.h has an unclosed bracket:

#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) ?

338e37a

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions