Merge pull request #130 from slark-yuxj/master

Add assert judgment
pull/131/head
朱天龙 (Armink) 3 years ago committed by GitHub
commit 20f13ca2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -284,6 +284,8 @@ void elog_set_output_enabled(bool enabled) {
* @param enabled TRUE: enable FALSE:disable
*/
void elog_set_text_color_enabled(bool enabled) {
ELOG_ASSERT((enabled == false) || (enabled == true));
elog.text_color_enabled = enabled;
}

Loading…
Cancel
Save