AmbiqSuiteSDK icon indicating copy to clipboard operation
AmbiqSuiteSDK copied to clipboard

Missing C++ Guards in hci_drv_apollo3.h

Open oclyke opened this issue 5 years ago • 1 comments

The header file hci_drv_apollo3.h (located in third_party/exactle/ble-host/sources/hci/ambiq/apollo3/) is missing C++ extern "C" guards. This makes it more difficult to use this interface from C++ sources.

A patch is available in branch 2.4.2-patch-cpp-guards-hci-drv-apollo3-h The patch is included in the current master branch as well.

oclyke avatar Jul 28 '20 00:07 oclyke

This issue still exists in AmbiqSuite release 2.5.1. The file in question is now called: third_party/cordio/ble-host/sources/hci/ambiq/apollo3/hci_drv_apollo3.h

oclyke avatar Oct 02 '20 21:10 oclyke