We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c8bc65 commit a038446Copy full SHA for a038446
src/hhd/controller/physical/imu.py
@@ -428,7 +428,8 @@ def open(self):
428
429
# Create trigger
430
try:
431
- os.makedirs("/config/iio/triggers/hrtimer/hhd", exist_ok=True)
+ if not os.path.isdir("/config/iio/triggers/hrtimer/hhd"):
432
+ os.makedirs("/config/iio/triggers/hrtimer/hhd", exist_ok=True)
433
except Exception as e:
434
logger.error(
435
f"Could not create 'hhd' trigger. IMU will not work. Error:\n{e}"
0 commit comments