Menu

#428 unsigned HAL pins/signals/params: wrong type in hal_data_u

2.6
closed-fixed
hal (2)
5
2015-07-31
2015-07-30
No

git blame src/hal/hal_priv.h

d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 121) /** HAL "data union" structure
d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 122)  ** This structure may hold any type of hal data
d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 123) */
d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 124) typedef union {
d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 125)     hal_bit_t b;
d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 126)     hal_s32_t s;
d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 127)     hal_s32_t u;
---------------------------------------------------------------^ wrong type hal_s32_t, should be hal_u32_t
d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 128)     hal_float_t f;
d63b35f9 (Jeff Epler    2008-11-06 03:39:53 +0000 129) } hal_data_u;

Discussion

  • Jeff Epler

    Jeff Epler - 2015-07-31

    Fixed in '2.6' since 09cff6b

    09cff6b hal: correct typo'd type in private header

    src/hal/hal_priv.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    will be merged up to 2.7, master in the normal course of things.

     
  • Jeff Epler

    Jeff Epler - 2015-07-31
    • status: open --> closed-fixed
    • Group: 2.5.next --> 2.6