mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
DSDL: LogLevel extracted into a separate nested type for future extensibility
This commit is contained in:
parent
730a571c8d
commit
fa8a9cd8ed
@ -2,11 +2,6 @@
|
||||
# Generic log message.
|
||||
#
|
||||
|
||||
uint3 SEVERITY_DEBUG = 0
|
||||
uint3 SEVERITY_INFO = 1
|
||||
uint3 SEVERITY_WARNING = 2
|
||||
uint3 SEVERITY_ERROR = 3
|
||||
uint3 severity
|
||||
|
||||
LogLevel level
|
||||
uint8[<32] source
|
||||
uint8[<128] text
|
||||
|
||||
9
dsdl/uavcan/protocol/debug/LogLevel.uavcan
Normal file
9
dsdl/uavcan/protocol/debug/LogLevel.uavcan
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Log message severity
|
||||
#
|
||||
|
||||
uint3 DEBUG = 0
|
||||
uint3 INFO = 1
|
||||
uint3 WARNING = 2
|
||||
uint3 ERROR = 3
|
||||
uint3 value
|
||||
Loading…
x
Reference in New Issue
Block a user