Changeset 73 in tmcsimulator for branches/fep_client_cpp/network_factory.cpp


Ignore:
Timestamp:
09/07/2017 03:25:09 PM (9 years ago)
Author:
jtorres
Message:

changed some comments / housekeeping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fep_client_cpp/network_factory.cpp

    r72 r73  
    22#include <vector> 
    33#include <math.h> 
     4 
    45// determine if a loop has data based on lane config data 
    56bool DataAvail(char flag, int num) 
     
    3435} 
    3536 
     37// Initializes the LDS_LOOP dataPack with all necessary static data and default dynamic data 
    3638void init_loop_dataPack(LDS_LOOP *loop) 
    3739{ 
    38         int j = 0; 
     40        int j; 
     41        // Allocate memory for dataPack 
    3942        loop->dataPack = (unsigned char *) calloc(sizeof(unsigned char), loop->length); 
     43 
    4044        // dataPack 5-8: lane config 
    4145        char d5 = 0, d6 = 0, d7 = 0, d8 = 0;             
Note: See TracChangeset for help on using the changeset viewer.