update dnr_init_flag
This commit is contained in:
@@ -92,9 +92,12 @@ void key_receiver(chanend_t c)
|
|||||||
{
|
{
|
||||||
debug_printf("===> key_receiver\n");
|
debug_printf("===> key_receiver\n");
|
||||||
#if DNR_ENABLE
|
#if DNR_ENABLE
|
||||||
while (g_dnr_init_flag == 0) {
|
unsigned dnr_init_flag = 0;
|
||||||
|
while (dnr_init_flag == 0) {
|
||||||
|
GET_SHARED_GLOBAL(dnr_init_flag, g_dnr_init_flag);
|
||||||
asm("nop");
|
asm("nop");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// tile0
|
// tile0
|
||||||
// load the license key
|
// load the license key
|
||||||
|
|||||||
Reference in New Issue
Block a user