move clear intil util.c

This commit is contained in:
2024-07-12 18:46:05 +01:00
parent b225ba5cc3
commit de70cd39cf
4 changed files with 15 additions and 9 deletions

View File

@@ -156,10 +156,3 @@ long macrobutton_setstatus(PT_VMR vmr, long n, float val, long mode)
log_trace("VBVMR_MacroButton_SetStatus(%ld, %d, %ld)", n, (int)val, mode);
return vmr->VBVMR_MacroButton_SetStatus(n, val, mode);
}
void clear(PT_VMR vmr, bool (*f)(PT_VMR))
{
Sleep(30);
while (f(vmr))
Sleep(1);
}