boarchuz / HULP

ESP32 ULP Coprocessor Helper
MIT License
180 stars 18 forks source link

Remove warning at HULP_LBLA #35

Closed Gfy63 closed 3 months ago

Gfy63 commented 3 months ago

Hi @boarchuz , i get this warning when using HULP_LBLA().

.pio/libdeps/pico32/HULP/src/hulp_macros.h:36:54: warning: narrowing conversion of '({...})' from 'int' to 'uint32_t' {aka 'unsigned int'} inside { } [-Wnarrowing]
             ( CONFIG_HULP_LABEL_AUTO_BASE + __LINE__); \
                                                      ^

See Issue #34

boarchuz commented 3 months ago

Thanks @Gfy63 !