]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Add pin initialization for bq2403x and cp210x
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Thu, 11 Sep 2008 22:38:32 +0000 (22:38 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:00:56 +0000 (20:00 -0700)
tos/chips/bq2403x/BQ2403XP.nc
tos/chips/cp210x/CP210XP.nc

index 77ed42cee88377b56da70ee4df1688788a1cb3e6..0c23a04d4e9eb3ed51e00043072b98c9c2fa2d99 100644 (file)
@@ -128,6 +128,11 @@ implementation {
 
   command error_t Init.init()
   {
+    call BQstat1.makeInput();
+    call BQstat2.makeInput();
+    call ACPGn.makeInput();
+    call USBPGn.makeInput();
+
     update();
     lastState = state;
     return SUCCESS;
index ce45bb57cc16b6abbaf7e1ef8356945f7cd04be6..17908a12c2a3c9003876608c44210f64b61128e8 100644 (file)
@@ -68,6 +68,8 @@ implementation {
 
   command error_t Init.init()
   {
+    call USB_SUSPENDn.makeInput();
+
     update();
     return SUCCESS;
   }