diff --git a/nx/include/switch/services/hidsys.h b/nx/include/switch/services/hidsys.h index 2bfb6536..7aa15abc 100644 --- a/nx/include/switch/services/hidsys.h +++ b/nx/include/switch/services/hidsys.h @@ -51,5 +51,5 @@ Result hidsysGetUniquePadIds(u64 *UniquePadIds, size_t count, size_t *total_entr * @param pattern \ref HidsysNotificationLedPattern * @param UniquePadId UniquePadId for the controller. */ -Result hidsysSetNotificationLedPattern(HidsysNotificationLedPattern *pattern, u64 UniquePadId); +Result hidsysSetNotificationLedPattern(const HidsysNotificationLedPattern *pattern, u64 UniquePadId); diff --git a/nx/source/services/hidsys.c b/nx/source/services/hidsys.c index 5e2dd0ec..f0b6c832 100644 --- a/nx/source/services/hidsys.c +++ b/nx/source/services/hidsys.c @@ -261,7 +261,7 @@ Result hidsysGetUniquePadIds(u64 *UniquePadIds, size_t count, size_t *total_entr return rc; } -Result hidsysSetNotificationLedPattern(HidsysNotificationLedPattern *pattern, u64 UniquePadId) { +Result hidsysSetNotificationLedPattern(const HidsysNotificationLedPattern *pattern, u64 UniquePadId) { if (hosversionBefore(7,0,0)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);