Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index 847e584..fefa8c6 100644
- --- a/src/hal/hal_lib.c
- +++ b/src/hal/hal_lib.c
- @@ -882,10 +882,10 @@ int hal_signal_new(const char *name, hal_type_t type)
- data_addr = shmalloc_up(sizeof(hal_bit_t));
- break;
- case HAL_S32:
- - data_addr = shmalloc_up(sizeof(hal_u32_t));
- + data_addr = shmalloc_up(sizeof(hal_s32_t));
- break;
- case HAL_U32:
- - data_addr = shmalloc_up(sizeof(hal_s32_t));
- + data_addr = shmalloc_up(sizeof(hal_u32_t));
- break;
- case HAL_FLOAT:
- data_addr = shmalloc_up(sizeof(hal_float_t));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement