Temporary traces added for Kilrah and MAC debuggers ...
This commit is contained in:
@@ -101,6 +101,7 @@ void eeWriteBlockCmp(const void *i_pointer_ram, uint16_t i_pointer_eeprom, size_
|
||||
|
||||
#ifdef SIMU
|
||||
sem_post(&eeprom_write_sem);
|
||||
printf("sem_post doit demarrer le thread EEPROM"); fflush(stdout);
|
||||
#elif defined (PCBARM)
|
||||
|
||||
#elif defined (PCBV4)
|
||||
|
||||
+2
-1
@@ -105,6 +105,7 @@ void *eeprom_write_function(void *)
|
||||
{
|
||||
printf("on entre dans eeprom_write_function\n"); fflush(stdout);
|
||||
while (!sem_wait(&eeprom_write_sem)) {
|
||||
printf("sortie sem_wait"); fflush(stdout);
|
||||
if (!eeprom_thread_running)
|
||||
return NULL;
|
||||
#if defined(PCBARM)
|
||||
@@ -147,7 +148,7 @@ void *eeprom_write_function(void *)
|
||||
Spi_complete = 1;
|
||||
#endif
|
||||
}
|
||||
|
||||
printf("sortie du thread EEPROM, pas bon avant la fin !!!"); fflush(stdout);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user