diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-16 07:51:47 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-16 07:51:47 +0200 |
commit | c2f97e628cf060d35db22526b450b919f0c6cf59 (patch) | |
tree | 1553ff26665b52dbf480b03d0b11d02c46c45e92 /src | |
parent | f89573a6ed6e43c9e5935b92929b6082089226c9 (diff) | |
download | px4-firmware-c2f97e628cf060d35db22526b450b919f0c6cf59.tar.gz px4-firmware-c2f97e628cf060d35db22526b450b919f0c6cf59.tar.bz2 px4-firmware-c2f97e628cf060d35db22526b450b919f0c6cf59.zip |
L3GD20 driver: stack size adjustments of start handler and start return review / comments
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/l3gd20/l3gd20.cpp | 3 | ||||
-rw-r--r-- | src/drivers/l3gd20/module.mk | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/l3gd20/l3gd20.cpp b/src/drivers/l3gd20/l3gd20.cpp index 64d1a7e55..2273f8aec 100644 --- a/src/drivers/l3gd20/l3gd20.cpp +++ b/src/drivers/l3gd20/l3gd20.cpp @@ -990,6 +990,9 @@ void info(); /** * Start the driver. + * + * This function call only returns once the driver + * started or failed to detect the sensor. */ void start(bool external_bus, enum Rotation rotation) diff --git a/src/drivers/l3gd20/module.mk b/src/drivers/l3gd20/module.mk index 23e77e871..83752e08b 100644 --- a/src/drivers/l3gd20/module.mk +++ b/src/drivers/l3gd20/module.mk @@ -4,3 +4,5 @@ MODULE_COMMAND = l3gd20 SRCS = l3gd20.cpp + +MODULE_STACKSIZE = 1200 |