stm: fix if-guard of conditional code
stm: fix if-guard of conditional code

adafruit/circuitpython,adafruit/circuitpython,adafruit/circuitpython,adafruit/circuitpython,adafruit/circuitpython,adafruit/circuitpython