patches13/0018-cosmetic.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7064 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2015-04-09 09:19:12 +00:00
parent 238194e617
commit 3f0a3e0de8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ typedef struct mobility_struct mobility_struct; /*!< The typedef that reflects a
struct node_struct {
int id; /*!< The identifier of the node in question */
int gid; /*!< given id of node used for trace mobility */
int type; /*!< The node's type, it is one of types enumarated in #node_types */
node_types type; /*!< The node's type, it is one of types enumarated in #node_types */
int mobile; /*!< The node status: static or mobile */
double x_pos; /*!< The X coordinate of the current location of the node */
double y_pos; /*!< The Y coordinate of the current location of the node */
+2 -2
View File
@@ -131,8 +131,8 @@ place_static_node (node_struct * node)
node->mob->journey_time = 0.0;
LOG_I (OMG,
"[STATIC] Initial position of node ID: %d type(%d): (X = %.2f, Y = %.2f) speed = 0.0\n",
node->id, node->type, node->x_pos, node->y_pos);
"[STATIC] Initial position of node ID: %d type(%d: %s): (X = %.2f, Y = %.2f) speed = 0.0\n",
node->id, node->type, (node->type==eNB)?"eNB":(node->type==UE)?"UE":"Relay", node->x_pos, node->y_pos);
node_vector_end[node->type] =
(node_list *) add_entry (node, node_vector_end[node->type]);