Skip to content
Snippets Groups Projects
Commit d8b1056a authored by schneider's avatar schneider
Browse files

fix(BHI): Minor fixes to the lib

parent 6fc3674e
Branches
Tags
No related merge requests found
......@@ -52,7 +52,7 @@
#ifndef BHY_UC_DRIVER_H_
#define BHY_UC_DRIVER_H_
#include "BHy_support.h"
#include "bhy_support.h"
#include "bhy_uc_driver_types.h"
/****************************************************************************/
......
......@@ -1753,7 +1753,7 @@ u8 v_meta_parameter_request_u8)
/* case for interrupt enable*/
case BHY_META_INTR_ENABLE:
/* set the meta event 1, interrupt enable*/
v_meta_bytes_u8 = (read_buffer.parameter_1&(~(1 << 0))| v_input_data_u8);
v_meta_bytes_u8 = ((read_buffer.parameter_1&(~(1 << 0)))| v_input_data_u8);
bhy_assign_meta_event_byte0(v_meta_bytes_u8);
break;
default:
......
......@@ -839,6 +839,7 @@ BHY_RETURN_FUNCTION_TYPE bhy_update_system_timestamp(bhy_data_scalar_u16_t *time
default:
return BHY_OUT_OF_RANGE;
}
return BHY_SUCCESS;
}
/*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment