Skip to content

Commit 1f18ce7

Browse files
pdunajanangl
authored andcommitted
applications: nrf_desktop: Avoid pulling in outside led_id enums
Doxygen does not distinguish enum's coming from different scopes. If enum of the same name is declared in different scope (e.g. another application), the doxygen will pull it in and if there are the same names in these enums, the doxygen will report name conflicts. Avoid it by using unique name for enum in nrf_desktop. This can can be done painlessly as we don't reference explicitly name of this enum in code. Jira: NCSDK-14306 Signed-off-by: Pawel Dunaj <[email protected]>
1 parent a48ae8c commit 1f18ce7

File tree

1 file changed

+1
-1
lines changed
  • applications/nrf_desktop/configuration/common

1 file changed

+1
-1
lines changed

applications/nrf_desktop/configuration/common/led_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ enum led_peer_state {
5757
};
5858

5959
/** @brief LED identification. */
60-
enum led_id {
60+
enum led_id_nrf_desktop {
6161
/** LED representing system state. */
6262
LED_ID_SYSTEM_STATE,
6363
/** LED representing peer state. */

0 commit comments

Comments
 (0)