FreeCalypso > hg > tcs211-l1-reconst
changeset 194:81ba9566518f
tpudrv12.c: no TPU_wait_idle() in TCS211
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 08 Jun 2016 03:46:31 +0000 |
parents | 87856e381ca3 |
children | 3fd7ac75958d |
files | chipsetsw/layer1/tpu_drivers/source0/tpudrv12.c |
diffstat | 1 files changed, 6 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/chipsetsw/layer1/tpu_drivers/source0/tpudrv12.c Wed Jun 08 03:34:58 2016 +0000 +++ b/chipsetsw/layer1/tpu_drivers/source0/tpudrv12.c Wed Jun 08 03:46:31 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 }