From cfd8e86d240e7ee31baec60b1d44d9d8ade921e7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 16 Apr 2011 13:00:57 +0000 Subject: [PATCH] More changes from Uros git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3513 42af7a65-404d-4744-a932-0658087f49c3 --- configs/vsn/src/sif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/vsn/src/sif.c b/configs/vsn/src/sif.c index 555c43f636c..7a510da242c 100644 --- a/configs/vsn/src/sif.c +++ b/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;