]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/bq2403x/BQ2403XP.nc
Fix TMI copyright attributions
[tinyos-2.x.git] / tos / chips / bq2403x / BQ2403XP.nc
index 77ed42cee88377b56da70ee4df1688788a1cb3e6..74950c18bddee6bfee89d3109c749e98a142203c 100644 (file)
@@ -10,7 +10,7 @@
  * - Redistributions in binary form must reproduce the above copyright
  *   notice, this list of conditions and the following disclaimer in the
  *   documentation and/or other materials provided with the distribution.
- * - Neither the name of the Technische Universität Berlin nor the names
+ * - Neither the name of the Titanium Mirror, Inc. nor the names
  *   of its contributors may be used to endorse or promote products derived
  *   from this software without specific prior written permission.
  *
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
 /**
  * HIL implementation for the BQ2403X charge controller chip family.
- * 
- * @author R. Steve McKown <smckown@gmail.com>
+ *
+ * @author R. Steve McKown <rsmckown@gmail.com>
  */
+
 #include "BQ2403X.h"
 
 module BQ2403XP {
@@ -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;
@@ -177,7 +182,7 @@ implementation {
   task void signalChange()
   {
     bq2403x_state_t cstate;
-    
+
     atomic cstate = state;
     signal BQ2403X.change(cstate, lastState);
     lastState = cstate;