diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-12 19:23:07 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-12 19:23:07 +0200 |
commit | 01da782a8d5335f6bf91bb2d0303c4afdd25bf76 (patch) | |
tree | c953a2c778f5f34fa694e8d4412b787853124e2b /src/systemcmds | |
parent | 00af2d5a3dcf565c77948a2545865193a58ec3bf (diff) | |
parent | e6b5e3ae613e89189ac69cf0b174b10002d51068 (diff) | |
download | px4-firmware-01da782a8d5335f6bf91bb2d0303c4afdd25bf76.tar.gz px4-firmware-01da782a8d5335f6bf91bb2d0303c4afdd25bf76.tar.bz2 px4-firmware-01da782a8d5335f6bf91bb2d0303c4afdd25bf76.zip |
Merge pull request #1152 from PX4/sensor_drivers
Sensor drivers
Diffstat (limited to 'src/systemcmds')
-rw-r--r-- | src/systemcmds/mtd/24xxxx_mtd.c | 1 | ||||
-rw-r--r-- | src/systemcmds/param/param.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/systemcmds/mtd/24xxxx_mtd.c b/src/systemcmds/mtd/24xxxx_mtd.c index 72200f418..991363797 100644 --- a/src/systemcmds/mtd/24xxxx_mtd.c +++ b/src/systemcmds/mtd/24xxxx_mtd.c @@ -161,6 +161,7 @@ static ssize_t at24c_bwrite(FAR struct mtd_dev_s *dev, off_t startblock, static int at24c_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg); void at24c_test(void); +int at24c_nuke(void); /************************************************************************************ * Private Data diff --git a/src/systemcmds/param/param.c b/src/systemcmds/param/param.c index 28e1b108b..e110335e7 100644 --- a/src/systemcmds/param/param.c +++ b/src/systemcmds/param/param.c @@ -63,7 +63,7 @@ static void do_import(const char* param_file_name); static void do_show(const char* search_string); static void do_show_print(void *arg, param_t param); static void do_set(const char* name, const char* val, bool fail_on_not_found); -static void do_compare(const char* name, const char* vals[], unsigned comparisons); +static void do_compare(const char* name, char* vals[], unsigned comparisons); static void do_reset(void); static void do_reset_nostart(void); @@ -351,7 +351,7 @@ do_set(const char* name, const char* val, bool fail_on_not_found) } static void -do_compare(const char* name, const char* vals[], unsigned comparisons) +do_compare(const char* name, char* vals[], unsigned comparisons) { int32_t i; float f; |