stlink-tool
stlink-tool copied to clipboard
Feature: compilation fixes
This small patch does two important things for modern compilers:
- It fixes a possible uninitialised use of sector (which because -Werror, stops compilation)
- It improves code correctness by using size_t for an iteration type that can't be negative and which benefits from always being platform-native-width