23 lines
433 B
C
Raw Normal View History

2016-08-11 11:04:54 +02:00
/*
* shell_data.h
*
* Created on: Aug 11, 2016
* Author: tkl
*/
#ifndef SOURCE_FIRMWARE_KERNEL_INCLUDE_SHELL_DATA_H_
#define SOURCE_FIRMWARE_KERNEL_INCLUDE_SHELL_DATA_H_
2016-08-16 09:33:49 +02:00
#pragma pack(push)
#pragma pack(1)
2016-08-11 11:04:54 +02:00
struct shell_object {
struct list command_list;
const struct driver *shell_device;
bool echo_on;
};
2016-08-16 09:33:49 +02:00
#pragma pack(pop)
2016-08-11 11:04:54 +02:00
struct shell_object shell_object;
#endif /* SOURCE_FIRMWARE_KERNEL_INCLUDE_SHELL_DATA_H_ */