fix some INTRINSIC_REPORTING #ifs (#977)

This commit is contained in:
Ryan Mulder
2025-04-29 09:44:12 -04:00
committed by GitHub
parent 980c78dddb
commit 77efedae6e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ const char *Analog_Input_Name_ASCII(uint32_t object_instance)
unsigned Analog_Input_Event_State(uint32_t object_instance)
{
unsigned state = EVENT_STATE_NORMAL;
#if !defined(INTRINSIC_REPORTING)
#if defined(INTRINSIC_REPORTING)
struct analog_input_descr *pObject;
pObject = Analog_Input_Object(object_instance);
+1 -1
View File
@@ -1314,7 +1314,7 @@ void Binary_Value_Init(void)
unsigned Binary_Value_Event_State(uint32_t object_instance)
{
unsigned state = EVENT_STATE_NORMAL;
#if !defined(INTRINSIC_REPORTING) && (BINARY_VALUE_INTRINSIC_REPORTING)
#if !(defined(INTRINSIC_REPORTING) && (BINARY_VALUE_INTRINSIC_REPORTING))
(void)object_instance;
#else
struct object_data *pObject = Binary_Value_Object(object_instance);