FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/services/ffs/task.c @ 643:d779078abe40
PCM integration: pcm_init() call
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 03 Sep 2014 17:50:06 +0000 |
parents | 4d706a4134b0 |
children | 6ffebb8cec78 |
comparison
equal
deleted
inserted
replaced
642:b039cafc8e31 | 643:d779078abe40 |
---|---|
204 { | 204 { |
205 extern int TCD_Interrupt_Level; | 205 extern int TCD_Interrupt_Level; |
206 int tmp_int_level; | 206 int tmp_int_level; |
207 ttr_init(TTrTask|TTrTest|TTrTestInfo); | 207 ttr_init(TTrTask|TTrTest|TTrTestInfo); |
208 //ttr_init(TTrTask|TTrTest|TTrTestInfo|TTrDrvErase|TTrDrvWrite|TTrTaskLow|TTrApi); | 208 //ttr_init(TTrTask|TTrTest|TTrTestInfo|TTrDrvErase|TTrDrvWrite|TTrTaskLow|TTrApi); |
209 | 209 |
210 tmp_int_level = TCD_Interrupt_Level; // Backup Int level | 210 tmp_int_level = TCD_Interrupt_Level; // Backup Int level |
211 TCD_Interrupt_Level = 0xC0; // The Interrups are not yet enabled.. | 211 TCD_Interrupt_Level = 0xC0; // The Interrups are not yet enabled.. |
212 #if FFS_IN_RAM | 212 #if FFS_IN_RAM |
213 memset(_RAMFFS_area, 0xFF, RAMFFS_TOTAL_SIZE); | 213 memset(_RAMFFS_area, 0xFF, RAMFFS_TOTAL_SIZE); |
214 #endif | 214 #endif |
215 ffs_init_status = ffs_initialize(); | 215 ffs_init_status = ffs_initialize(); |
216 TCD_Interrupt_Level = tmp_int_level; // Restore Int level | 216 TCD_Interrupt_Level = tmp_int_level; // Restore Int level |
217 | 217 |
218 #if 0 | 218 #if 0 // moved to Application_Initialize() - FreeCalypso change |
219 pcm_init(); // We have to call pcm_init() before G23 starts. | 219 pcm_init(); // We have to call pcm_init() before G23 starts. |
220 #endif | 220 #endif |
221 } | 221 } |
222 | 222 |
223 void ffs_task_init(T_OS_MB_ID mbid, T_RVF_ADDR_ID addr_id) | 223 void ffs_task_init(T_OS_MB_ID mbid, T_RVF_ADDR_ID addr_id) |