commit | 6c02e809c6e53c3c1e12bf5bf4fd3e56e4c75d13 | [log] [tgz] |
---|---|---|
author | Manu Sutela <manu.sutela@gmail.com> | Tue Mar 04 11:56:31 2025 -0500 |
committer | Benjamin Cabé <kartben@gmail.com> | Sat Mar 08 08:47:03 2025 +0100 |
tree | 6ccee02570719ec29eee2aea2f5ee308303f5fc8 | |
parent | d34d554d60b94bee7a82ccc14e5800a9287309d5 [diff] |
drivers: haptics: Fix drv2605 C++ compatibility Add `extern "C"` guard around the function declarations in drv2605.h. Without this guard, compiling code with a C++ compiler fails due to name mangling issues. Signed-off-by: Manu Sutela <manu.sutela@gmail.com>