Fix the t-impulse touch button (#12286)

This commit is contained in:
Jonathan Bennett authored and GitHub committed 2026-11-03 05:24:18 +00:00
1 parent 1546ebee2f
commit e2258a6945
3 files changed
+13 -2

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ static File openFile(const char *filename, bool fullAtomic)
{
concurrency::LockGuard g(spiLock);
LOG_DEBUG("Opening %s, fullAtomic=%d", filename, fullAtomic);
#ifdef HAPTIC_FEEDBACK_PIN
digitalWrite(HAPTIC_FEEDBACK_PIN, LOW); // the write stalls the loop that would end a haptic pulse
#endif
if (!fullAtomic) {
FSCom.remove(filename); // Nuke the old file to make space (ignore if it !exists)
}