This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Syntax error in cslr_spi.h (PDK 1.0.0.21 and older)

Hi,

There appears to be a syntax error in cslr_spi.h included in the C6678 PDK 1.0.0.21 (and older versions of the PDK).

There is a unterminated extern "C" section started at the top of cslr_spi.h:

#ifndef _CSLR_SPI_H_
#define _CSLR_SPI_H_

#ifdef __cplusplus
extern "C" {
#endif

...<defines and structs>...

#endif

This extern "C" section is not terminated at the end of the header file, which causes compilation errors when this file is included in C++ files.

-

Kjetil