mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
ORB_PRIO: set ORB_PRIO_MIN to 1 instead of 0
This is needed as the sensors app assumes a value of 0 means uninitialized.
Follow-up to 'Sensors app: Fix consistency checks', a6696d339d
This commit is contained in:
@@ -68,7 +68,7 @@ typedef const struct orb_metadata *orb_id_t;
|
|||||||
* Relevant for multi-topics / topic groups
|
* Relevant for multi-topics / topic groups
|
||||||
*/
|
*/
|
||||||
enum ORB_PRIO {
|
enum ORB_PRIO {
|
||||||
ORB_PRIO_MIN = 0,
|
ORB_PRIO_MIN = 1, // leave 0 free for other purposes, eg. marking an uninitialized value
|
||||||
ORB_PRIO_VERY_LOW = 25,
|
ORB_PRIO_VERY_LOW = 25,
|
||||||
ORB_PRIO_LOW = 50,
|
ORB_PRIO_LOW = 50,
|
||||||
ORB_PRIO_DEFAULT = 75,
|
ORB_PRIO_DEFAULT = 75,
|
||||||
|
|||||||
Reference in New Issue
Block a user