fix synchronization
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -113,7 +113,9 @@ int main() {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    *local_sync_bit++;
 | 
					    *local_sync_bit++;
 | 
				
			||||||
    while (*target_sync_bit < *local_sync_bit);
 | 
					    while (*target_sync_bit < *local_sync_bit) {
 | 
				
			||||||
 | 
					        asm("nop");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    printf("End of execution");
 | 
					    printf("End of execution");
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user