This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

power management compilation failure


The attached patch fixes an issue that causes the
power management code not to compile if a
dedicated power management thread is not
used:

diff -ru services-orig/power/common/current/ChangeLog 
services/power/common/current/ChangeLog
--- services-orig/power/common/current/ChangeLog	Tue Feb 25 17:47:13 2003
+++ services/power/common/current/ChangeLog	Tue May 13 11:55:44 2003
@@ -1,3 +1,7 @@
+2003-05-13  Thomas Koeller  <thomas.koeller@baslerweb.com>
+
+	* /src/power.cxx: Fixed use of non-existant type 'cyg_uint'.
+
 2003-02-25  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* doc/power.sgml: Declare as <part> not <reference> to get
diff -ru services-orig/power/common/current/src/power.cxx 
services/power/common/current/src/power.cxx
--- services-orig/power/common/current/src/power.cxx	Fri May 24 01:08:47 2002
+++ services/power/common/current/src/power.cxx	Tue May 13 11:56:13 2003
@@ -90,7 +90,7 @@
 
 #else
 static cyg_bool         power_doing_it      = false;
-static cyg_uint         power_todo_count    = 0;
+static cyg_uint32       power_todo_count    = 0;
 #endif
 
 // 
----------------------------------------------------------------------------

-- 

Thomas Koeller, Software Development

Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany

Phone	+49 (4102) 463-390
Fax	+49 (4102) 463-46390

mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]