Przeglądaj źródła

cmProc5.c : Fixed bugs in cmReflectCalcAlloc().

master
Kevin Larke 8 lat temu
rodzic
commit
77edcafc76
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3
    3
      cmProc5.c

+ 3
- 3
cmProc5.c Wyświetl plik

@@ -656,14 +656,14 @@ cmReflectCalc_t* cmReflectCalcAlloc( cmCtx* ctx, cmReflectCalc_t* p, const cmGol
656 656
   cmRC_t rc = cmOkRC;
657 657
   
658 658
   // allocate the Gold code signal generator
659
-  if( (p->gs = cmGoldSigAlloc(ctx,NULL,NULL)) == NULL )
659
+  if( (op->gs = cmGoldSigAlloc(ctx,NULL,NULL)) == NULL )
660 660
   {
661 661
     rc = cmCtxRtCondition(&p->obj,cmSubSysFailRC,"Gold sig allocate failed.");
662 662
     goto errLabel;
663 663
   }
664 664
 
665 665
   // allocate the PHAT object
666
-  if( (p->phat = cmPhatAlloc(ctx,NULL,0,0,0,0,0)) == NULL )
666
+  if( (op->phat = cmPhatAlloc(ctx,NULL,0,0,0,0,0)) == NULL )
667 667
   {
668 668
     rc = cmCtxRtCondition(&p->obj,cmSubSysFailRC,"PHAT allocate failed.");
669 669
     goto errLabel;
@@ -694,7 +694,7 @@ cmRC_t cmReflectCalcFree( cmReflectCalc_t** pp )
694 694
 
695 695
   cmReflectCalc_t* p = *pp;
696 696
 
697
-  cmReflectCalcWrite(p,"/Users/kevin/temp/cmkc");
697
+  cmReflectCalcWrite(p,"/home/kevin/temp/cmkc");
698 698
   
699 699
   if((rc = cmReflectCalcFinal(p)) != cmOkRC )
700 700
     return rc;

Ładowanie…
Anuluj
Zapisz