From 3d2da1ff79576010ede40a87679b75dd421db819 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Wed, 16 May 2012 17:13:23 +0200 Subject: digital/beacon: convert int to uint16_t --- digital/beacon/src/position.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'digital/beacon/src/position.h') diff --git a/digital/beacon/src/position.h b/digital/beacon/src/position.h index c5052fda..215c64ba 100644 --- a/digital/beacon/src/position.h +++ b/digital/beacon/src/position.h @@ -53,16 +53,16 @@ typedef enum{ /* Beacon Structure */ typedef struct { - int angleNumber; + uint16_t angleNumber; float angle[MAX_OBSTACLE+1]; }beacon_s; /* Obstacle structure */ typedef struct { - int x; - int y; - int trust; + int16_t x; + int16_t y; + int8_t trust; }opponent_s; /* Coordinates structure */ -- cgit v1.2.3