drivers: use K_THREAD_STACK_DEFINE macros
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
15ed8ec7ea
commit
2d4a36fc1c
27 changed files with 38 additions and 30 deletions
|
@ -229,7 +229,8 @@ struct lsm9ds0_gyro_data {
|
|||
#endif
|
||||
|
||||
#if defined(CONFIG_LSM9DS0_GYRO_TRIGGER_DRDY)
|
||||
char __stack thread_stack[CONFIG_LSM9DS0_GYRO_THREAD_STACK_SIZE];
|
||||
K_THREAD_STACK_MEMBER(thread_stack,
|
||||
CONFIG_LSM9DS0_GYRO_THREAD_STACK_SIZE);
|
||||
struct k_thread thread;
|
||||
struct device *dev;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue