bl_iot_sdk
bl_iot_sdk copied to clipboard
Fix GCC warnings
This PR fixes the warnings in BL602 HAL generated by xpack-riscv-none-embed-gcc 8.3.0-2.3
when building for Mynewt OS. The warnings were due to buffer overflow, mismatched types, missing declarations and variables set but not used.
These changes look good, thanks! Do you mind squashing the commits together? I'm generally in favor of as granular commits as possible, but one commit per line change seems a little excessive :) (I can also just merge with squash if you prefer that, but you won't have control over the final commit message if I do it that way.)
Yes could you please merge with squash for me thanks! I haven't done squashing before and I'll probably mess it up 🙂