ctrlpad: remove Promise type hack

pull/3383/head
Rob Pilling 2024-04-25 18:29:23 +01:00
parent 513c07d6fd
commit 1b917b174e
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@
}else{ }else{
if(tap){ if(tap){
origBuzz = Bangle.buzz; origBuzz = Bangle.buzz;
Bangle.buzz = () => (Promise as any).resolve(); // FIXME Bangle.buzz = () => Promise.resolve();
setTimeout(() => { setTimeout(() => {
if(!origBuzz) return; if(!origBuzz) return;
Bangle.buzz = origBuzz; Bangle.buzz = origBuzz;