aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Sidrane <david_s5@nscdg.com>2015-03-25 17:32:27 -1000
committerDavid Sidrane <david_s5@nscdg.com>2015-04-22 02:30:13 -1000
commit7e197375831bf12a2d5a4747f4a977d81255c89b (patch)
tree7820a7db0355de9f97bfc15509d06811f5b930e3 /src
parent434373ed49cb0a1391db3d2036e76cfea5baabb2 (diff)
downloadpx4-firmware-7e197375831bf12a2d5a4747f4a977d81255c89b.tar.gz
px4-firmware-7e197375831bf12a2d5a4747f4a977d81255c89b.tar.bz2
px4-firmware-7e197375831bf12a2d5a4747f4a977d81255c89b.zip
Thread starts with 9 words on stack to spare
Diffstat (limited to 'src')
-rw-r--r--src/modules/uavcannode/uavcannode_main.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/uavcannode/uavcannode_main.hpp b/src/modules/uavcannode/uavcannode_main.hpp
index f1eb722a9..999aeaf12 100644
--- a/src/modules/uavcannode/uavcannode_main.hpp
+++ b/src/modules/uavcannode/uavcannode_main.hpp
@@ -56,9 +56,9 @@
*/
class UavcanNode : public device::CDev
{
- static constexpr unsigned MemPoolSize = 3200; ///< Refer to the libuavcan manual to learn why
+ static constexpr unsigned MemPoolSize = 2200; ///< Refer to the libuavcan manual to learn why
static constexpr unsigned RxQueueLenPerIface = 64;
- static constexpr unsigned StackSize = 768;
+ static constexpr unsigned StackSize = 400;
public:
typedef uavcan::Node<MemPoolSize> Node;