# HG changeset patch # User Mychaela Falconia # Date 1465540941 0 # Node ID a872b92dcd3c0edbc90d2c8830ee182a5a642dce # Parent e8c05cfca8aa7ca4ce1cb74c22cda8d5619e5590 tpudrv12.c: TPU_wait_idle() call removed to match TCS211 diff -r e8c05cfca8aa -r a872b92dcd3c L1/tpudrv/tpudrv12.c --- 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 }