Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history.
This commit is contained in:
parent
f4f0679a2d
commit
c5df0cb82b
144 changed files with 4519 additions and 4519 deletions
|
|
@ -39,23 +39,23 @@
|
|||
#ifdef DEV_ENABLED
|
||||
// Includes safety checks to ensure that a queue set as a thread singleton override
|
||||
// is only ever called from the thread it was set for.
|
||||
#define LOCK_MUTEX \
|
||||
#define LOCK_MUTEX \
|
||||
if (this != MessageQueue::thread_singleton) { \
|
||||
DEV_ASSERT(!is_current_thread_override); \
|
||||
mutex.lock(); \
|
||||
} else { \
|
||||
DEV_ASSERT(is_current_thread_override); \
|
||||
DEV_ASSERT(!is_current_thread_override); \
|
||||
mutex.lock(); \
|
||||
} else { \
|
||||
DEV_ASSERT(is_current_thread_override); \
|
||||
}
|
||||
#else
|
||||
#define LOCK_MUTEX \
|
||||
#define LOCK_MUTEX \
|
||||
if (this != MessageQueue::thread_singleton) { \
|
||||
mutex.lock(); \
|
||||
mutex.lock(); \
|
||||
}
|
||||
#endif
|
||||
|
||||
#define UNLOCK_MUTEX \
|
||||
#define UNLOCK_MUTEX \
|
||||
if (this != MessageQueue::thread_singleton) { \
|
||||
mutex.unlock(); \
|
||||
mutex.unlock(); \
|
||||
}
|
||||
|
||||
void CallQueue::_add_page() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue