summaryrefslogtreecommitdiff
path: root/nuttx/drivers/power
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-25 22:20:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-25 22:20:48 +0000
commit4bd61ddb8690c76e3e1424cf16a43c678b0666da (patch)
treeafb4093dff7dc358f46f86bc70ab9781e3ee2abc /nuttx/drivers/power
parent84ebd8284c5c2f190ee154e0124fc5ddccbb0361 (diff)
downloadpx4-nuttx-4bd61ddb8690c76e3e1424cf16a43c678b0666da.tar.gz
px4-nuttx-4bd61ddb8690c76e3e1424cf16a43c678b0666da.tar.bz2
px4-nuttx-4bd61ddb8690c76e3e1424cf16a43c678b0666da.zip
Fixes on reverification of USB mass storage class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4336 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/power')
-rw-r--r--nuttx/drivers/power/max1704x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/drivers/power/max1704x.c b/nuttx/drivers/power/max1704x.c
index d442bd8c1..01a66d80c 100644
--- a/nuttx/drivers/power/max1704x.c
+++ b/nuttx/drivers/power/max1704x.c
@@ -525,7 +525,9 @@ FAR struct battery_dev_s *max1704x_initialize(FAR struct i2c_dev_s *i2c,
uint8_t addr, uint32_t frequency)
{
FAR struct max1704x_dev_s *priv;
+#if 0
int ret;
+#endif
/* Initialize the MAX1704x device structure */