FACT++  1.0
void set_register ( int *  tag,
int *  data,
int *  size 
)

Definition at line 7 of file test_server_ccpc.c.

References dis_update_service, ids, and registers.

Referenced by main().

9 {
10 int index, value;
11 
12  index = data[0];
13  value = data[1];
14  printf("Setting register %d to value %d\n", index, value);
15 /* here we set the register, read it back and update the service*/
16  registers[index] = value;
17  dis_update_service(ids[index]);
18 
19 }
int ids[10]
#define dis_update_service
Definition: dis.h:18
float data[4 *1440]
int registers[10]

+ Here is the caller graph for this function: