diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-16 13:00:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-16 13:00:57 +0000 |
commit | cbb245c0b6816c10be52a03a3ea8c66db8e0a7ae (patch) | |
tree | 15b55003014272570f06703cf7e612d9321a87e6 /nuttx/configs/vsn/src | |
parent | 6a969146eb87c8b6bb06a64b37f7afecaa8144e6 (diff) | |
download | px4-nuttx-cbb245c0b6816c10be52a03a3ea8c66db8e0a7ae.tar.gz px4-nuttx-cbb245c0b6816c10be52a03a3ea8c66db8e0a7ae.tar.bz2 px4-nuttx-cbb245c0b6816c10be52a03a3ea8c66db8e0a7ae.zip |
More changes from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3513 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/vsn/src')
-rw-r--r-- | nuttx/configs/vsn/src/sif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/vsn/src/sif.c b/nuttx/configs/vsn/src/sif.c index 555c43f63..7a510da24 100644 --- a/nuttx/configs/vsn/src/sif.c +++ b/nuttx/configs/vsn/src/sif.c @@ -514,9 +514,9 @@ int sif_main(int argc, char *argv[]) else if (!strcmp(argv[1], "i2c") && argc == 3) { int val = atoi(argv[2]); - I2C_SETFREQUENCY(vsn_sif.i2c2, 100000); + I2C_SETFREQUENCY(vsn_sif.i2c1, 100000); - struct st_lis331dl_dev_s * lis = st_lis331dl_init(vsn_sif.i2c2, val); + struct st_lis331dl_dev_s * lis = st_lis331dl_init(vsn_sif.i2c1, val); if (lis) { struct st_lis331dl_vector_s * a; |