Changeset 73 in tmcsimulator for branches/fep_client_cpp/network_factory.cpp
- Timestamp:
- 09/07/2017 03:25:09 PM (9 years ago)
- File:
-
- 1 edited
-
branches/fep_client_cpp/network_factory.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/fep_client_cpp/network_factory.cpp
r72 r73 2 2 #include <vector> 3 3 #include <math.h> 4 4 5 // determine if a loop has data based on lane config data 5 6 bool DataAvail(char flag, int num) … … 34 35 } 35 36 37 // Initializes the LDS_LOOP dataPack with all necessary static data and default dynamic data 36 38 void init_loop_dataPack(LDS_LOOP *loop) 37 39 { 38 int j = 0; 40 int j; 41 // Allocate memory for dataPack 39 42 loop->dataPack = (unsigned char *) calloc(sizeof(unsigned char), loop->length); 43 40 44 // dataPack 5-8: lane config 41 45 char d5 = 0, d6 = 0, d7 = 0, d8 = 0;
Note: See TracChangeset
for help on using the changeset viewer.
