Modified payload_aes_busy to include some sleep statements

This commit is contained in:
2020-01-07 17:35:08 -05:00
parent b590cd65c8
commit cde3ad8bbe
3 changed files with 10 additions and 0 deletions

View File

@@ -7,4 +7,10 @@
#define SYSTEM_TIME ((BOOTROM_FUNC) ADDR_SYSTEM_TIME)
#define TIME_HAS_ELAPSED ((BOOTROM_FUNC) ADDR_TIME_HAS_ELAPSED)
PAYLOAD_SECTION
void task_sleep(unsigned int usec)
{
((BOOTROM_FUNC) ADDR_TASK_SLEEP)(usec);
}
#endif //CHECKM8_TOOL_BRFUNC_TIMING_H