From 5e5c4ec8844e710fb3d16ecdb2cddc3ecdb4e8db Mon Sep 17 00:00:00 2001 From: "pinloon.lee" Date: Wed, 31 Mar 2021 16:01:07 +0800 Subject: [PATCH] fixed light command ctrl constant --- src/agx_protocol_v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agx_protocol_v2.h b/src/agx_protocol_v2.h index 03df225..afbd522 100644 --- a/src/agx_protocol_v2.h +++ b/src/agx_protocol_v2.h @@ -98,8 +98,8 @@ extern "C" { /*--------------------- Control/State Constants ------------------------*/ -#define LIGHT_CMD_CTRL_ALLOWED ((uint8_t)0x00) -#define LIGHT_CMD_CTRL_DISALLOWED ((uint8_t)0x01) +#define LIGHT_CMD_CTRL_ALLOWED ((uint8_t)0x01) +#define LIGHT_CMD_CTRL_DISALLOWED ((uint8_t)0x00) #define VERSION_REQUEST_VALUE ((uint8_t)0x01) #define STEER_NEUTRAL_REQUEST_VALUE ((uint8_t)0xee)