xair_nano/remove_bluetooth.py

8 lines
243 B
Python

import os
header = "./.pio/libdeps/nano_33_iot/OSC/SLIPEncodedBluetoothSerial.h"
if os.path.exists(header):
os.remove(header)
src = "./.pio/libdeps/nano_33_iot/OSC/SLIPEncodedBluetoothSerial.cpp"
if os.path.exists(src):
os.remove(src)