diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-12 16:33:23 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-12 16:33:23 +0100 |
commit | 3387aa64d40dc7be2900b0368293d9997b97005a (patch) | |
tree | 894d644613fa642f617af09bdc4252340a0b580f /ROMFS/px4fmu_common | |
parent | 17a478a190d1349b74f34933a6d300a04fdb229d (diff) | |
download | px4-firmware-3387aa64d40dc7be2900b0368293d9997b97005a.tar.gz px4-firmware-3387aa64d40dc7be2900b0368293d9997b97005a.tar.bz2 px4-firmware-3387aa64d40dc7be2900b0368293d9997b97005a.zip |
Enabled MTD partitions, successfully tested params
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 66cb3f237..8de615746 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -75,14 +75,15 @@ then # # Load microSD params # - #if ramtron start - #then - # param select /ramtron/params - # if [ -f /ramtron/params ] - # then - # param load /ramtron/params - # fi - #else + if mtd start + then + param select /fs/mtd_params + if param load /fs/mtd_params + then + else + echo "FAILED LOADING PARAMS" + fi + else param select /fs/microsd/params if [ -f /fs/microsd/params ] then |