diff --git a/lib_xua/src/core/user/user_hid.h b/lib_xua/src/core/user/user_hid.h index 24699c14..afcbb2e9 100644 --- a/lib_xua/src/core/user/user_hid.h +++ b/lib_xua/src/core/user/user_hid.h @@ -15,18 +15,18 @@ #define HID_SIMULATE_INTERRUPTS 0 #endif -#ifndef NDP_ASSERT_LEVEL -#define NDP_ASSERT_LEVEL 0 +#ifndef INTERRUPT_ASSERT_LEVEL +#define INTERRUPT_ASSERT_LEVEL 0 #endif #if( 0 < HID_CONTROLS ) #if( 0 < NDP_ASSERT_LEVEL ) -#define NDP10X_ASSERT_LEVEL 1 -#define NDP10X_DEASSERT_LEVEL 0 +#define INT_ASSERT_LEVEL 1 +#define INT_DEASSERT_LEVEL 0 #else -#define NDP10X_ASSERT_LEVEL 0 -#define NDP10X_DEASSERT_LEVEL 1 +#define INT_ASSERT_LEVEL 0 +#define INT_DEASSERT_LEVEL 1 #endif #if( 0 < HID_SIMULATE_INTERRUPTS ) diff --git a/lib_xua/src/core/user/user_hid.xc b/lib_xua/src/core/user/user_hid.xc index dfba7fed..75cb8df6 100644 --- a/lib_xua/src/core/user/user_hid.xc +++ b/lib_xua/src/core/user/user_hid.xc @@ -26,7 +26,7 @@ void UserReadHIDData( unsigned char hidData[ HID_DATA_SIZE ]) void UserSetHIDData( const unsigned hidData ) { - if( hidData == NDP10X_ASSERT_LEVEL ) { + if( hidData == INT_ASSERT_LEVEL ) { s_hidData = HID_REPORT_INTERRUPT_ASSERTED; } else { s_hidData = HID_REPORT_INTERRUPT_DEASSERTED;