# HG changeset patch # User Mychaela Falconia # Date 1465357591 0 # Node ID 81ba9566518fa48fe1ad5d9a1749380851775492 # Parent 87856e381ca36f5c32153e126c224a315d66b499 tpudrv12.c: no TPU_wait_idle() in TCS211 diff -r 87856e381ca3 -r 81ba9566518f chipsetsw/layer1/tpu_drivers/source0/tpudrv12.c --- 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 }