Updated LIS302DL and LIS3DSH demos
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9824 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
a3728946f8
commit
ac11288113
|
@ -201,7 +201,7 @@ CPPWARN = -Wall -Wextra -Wundef
|
|||
|
||||
# List all user C define here, like -D_DEBUG=1
|
||||
UDEFS = -DCHPRINTF_USE_FLOAT=1 -DSHELL_CMD_TEST_ENABLED=0 \
|
||||
-DLIS302DL_USE_ADVANCED=0
|
||||
-DLIS302DL_USE_ADVANCED=0 -DLIS302DL_SHARED_SPI=0
|
||||
|
||||
# Define ASM defines here
|
||||
UADEFS =
|
||||
|
|
|
@ -48,8 +48,8 @@ static const SPIConfig spicfg = {
|
|||
static LIS302DLConfig l3gd20cfg = {
|
||||
&SPID1, /* Pointer to SPI Driver.*/
|
||||
&spicfg, /* Pointer to SPI Configuration.*/
|
||||
{0, 0, 0}, /* Use default sensitivity.*/
|
||||
{0, 0, 0}, /* Use default bias.*/
|
||||
NULL, /* Use default sensitivity.*/
|
||||
NULL, /* Use default bias.*/
|
||||
LIS302DL_FS_2G, /* Full scale value.*/
|
||||
LIS302DL_ODR_100HZ, /* Output data rate.*/
|
||||
#if LIS302DL_USE_ADVANCED || defined(__DOXYGEN__)
|
||||
|
|
|
@ -201,7 +201,7 @@ CPPWARN = -Wall -Wextra -Wundef
|
|||
|
||||
# List all user C define here, like -D_DEBUG=1
|
||||
UDEFS = -DCHPRINTF_USE_FLOAT=1 -DSHELL_CMD_TEST_ENABLED=0 \
|
||||
-DLIS3DSH_USE_ADVANCED=0
|
||||
-DLIS3DSH_USE_ADVANCED=0 -DLIS3DSH_SHARED_SPI=0
|
||||
|
||||
# Define ASM defines here
|
||||
UADEFS =
|
||||
|
|
|
@ -48,8 +48,8 @@ static const SPIConfig spicfg = {
|
|||
static LIS3DSHConfig lis3dshcfg = {
|
||||
&SPID1, /* Pointer to SPI Driver.*/
|
||||
&spicfg, /* Pointer to SPI Configuration.*/
|
||||
{0, 0, 0}, /* Use default sensitivity.*/
|
||||
{0, 0, 0}, /* Use default bias.*/
|
||||
NULL, /* Use default sensitivity.*/
|
||||
NULL, /* Use default bias.*/
|
||||
LIS3DSH_FS_2G, /* Full scale value.*/
|
||||
LIS3DSH_ODR_100HZ, /* Output data rate.*/
|
||||
#if LIS3DSH_USE_ADVANCED || defined(__DOXYGEN__)
|
||||
|
|
Loading…
Reference in New Issue