CH_DBG_TRACE_MASK inverted logic?

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

CH_DBG_TRACE_MASK inverted logic?

Postby faisal » Thu Jan 18, 2018 4:05 am

Not sure if this is a feature or a bug, but it sure is confusing.

It seems that CH_DBG_TRACE_MASK is a mask of events to *DISABLE*, as the buffer.suspend variable gets initialized to this. If this is the intended logic, perhaps the comments/documentation can describe this more clearly.

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: CH_DBG_TRACE_MASK inverted logic?

Postby Giovanni » Sun Jan 06, 2019 5:00 pm

bump


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 6 guests