FreeCalypso > hg > freecalypso-citrine
changeset 18:a872b92dcd3c
tpudrv12.c: TPU_wait_idle() call removed to match TCS211
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 10 Jun 2016 06:42:21 +0000 |
parents | e8c05cfca8aa |
children | 12f6c51be7b3 |
files | L1/tpudrv/tpudrv12.c |
diffstat | 1 files changed, 6 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/L1/tpudrv/tpudrv12.c Fri Jun 10 06:37:59 2016 +0000 +++ b/L1/tpudrv/tpudrv12.c Fri Jun 10 06:42:21 2016 +0000 @@ -782,14 +782,9 @@ *TP_Ptr++ = TPU_SLEEP; TP_Ptr = (SYS_UWORD16 *) TPU_RAM; TP_Enable(1); - /* - * The following call does not appear in tpudrv12.obj, and - * there is no TPU_wait_idle() function in Leonardo tpudrv.obj - * either. But this wait operation makes sense to me, so - * I'm keeping it as-is from the LoCosto version for now. - * -- Space Falcon - */ - TPU_wait_idle(); + #if 0 /* present in LoCosto but not in TCS211 */ + TPU_wait_idle(); + #endif } // l1dmacro_RF_wakeup @@ -832,8 +827,9 @@ *TP_Ptr++ = TPU_SLEEP; TP_Ptr = (SYS_UWORD16 *) TPU_RAM; TP_Enable(1); - /* same issue as in the previous function */ - TPU_wait_idle(); + #if 0 /* present in LoCosto but not in TCS211 */ + TPU_wait_idle(); + #endif }