From ec245617f6dab2df6dd705cf55c918f65424d492 Mon Sep 17 00:00:00 2001 From: jath03 Date: Tue, 2 Mar 2021 16:41:39 -0800 Subject: [PATCH] Adding a new SDK version for profile controls --- NetworkProtocol.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NetworkProtocol.h b/NetworkProtocol.h index 12b477be..1d6625f6 100644 --- a/NetworkProtocol.h +++ b/NetworkProtocol.h @@ -13,8 +13,9 @@ | | | 0: Initial (unversioned) protocol | | 1: Add versioning, vendor string (Release 0.5) | +| 2: Add profile controls | \*-----------------------------------------------------*/ -#define OPENRGB_SDK_PROTOCOL_VERSION 1 +#define OPENRGB_SDK_PROTOCOL_VERSION 2 /*-----------------------------------------------------*\ | Default OpenRGB SDK port is 6742 | @@ -47,7 +48,7 @@ enum NET_PACKET_ID_REQUEST_PROFILE_LIST = 150, /* Request profile list */ NET_PACKET_ID_REQUEST_SAVE_PROFILE = 151, /* Save current configuration in a new profile */ NET_PACKET_ID_REQUEST_LOAD_PROFILE = 152, /* Load a given profile */ - NET_PACKET_ID_REQUEST_DELETE_PROFILE = 153, /* Load a given profile */ + NET_PACKET_ID_REQUEST_DELETE_PROFILE = 153, /* Delete a given profile */ /*----------------------------------------------------------------------------------------------------------*\ | RGBController class functions |