From 6b1432f69d97ddf6ee5dd9e205d5773689508273 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 25 Mar 2007 09:20:53 +0000 Subject: [PATCH] Changed variable declaration into type definition - as most likely originally intended. --- core/lib/energest.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/lib/energest.h b/core/lib/energest.h index bdace4dd9..122f640fb 100644 --- a/core/lib/energest.h +++ b/core/lib/energest.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: energest.h,v 1.1 2007/03/19 00:30:18 adamdunkels Exp $ + * $Id: energest.h,v 1.2 2007/03/25 09:20:53 oliverschmidt Exp $ */ /** @@ -43,7 +43,7 @@ typedef unsigned long energest_t; -enum { +enum energest_type { ENERGEST_TYPE_NONE, ENERGEST_TYPE_CPU, @@ -60,7 +60,7 @@ enum { ENERGEST_TYPE_SENSORS, ENERGEST_TYPE_MAX -} energest_type; +}; void energest_init(void); energest_t energest_type_time(int type);