From b5f2ca5daca566a3f8e45f8558b778c00bbbaf36 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Fri, 10 Apr 2015 09:23:22 -0700 Subject: [PATCH] ryu: remove lightbar traces by default The lightbar traces are quite verbose when going through AP power cycles and prevent people from debugging the current power issues. Let's turn them off by default, real lightbar lovers can still use the "chan" command to re-enable them. Signed-off-by: Vincent Palatin BRANCH=none BUG=none TEST=mkae buildall Change-Id: Ia91f1f9ea2c62a35a0d64e06d377f137ba69fc5e Reviewed-on: https://chromium-review.googlesource.com/265145 Reviewed-by: Gwendal Grignou Tested-by: Vincent Palatin Commit-Queue: Vincent Palatin Trybot-Ready: Vincent Palatin --- board/ryu/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ryu/board.h b/board/ryu/board.h index fa5f6eb888..95e5f2582e 100644 --- a/board/ryu/board.h +++ b/board/ryu/board.h @@ -16,7 +16,7 @@ #define CONFIG_UART_CONSOLE 2 /* By default, enable all console messages excepted USB */ -#define CC_DEFAULT (CC_ALL & ~CC_MASK(CC_USB)) +#define CC_DEFAULT (CC_ALL & ~(CC_MASK(CC_USB) | CC_MASK(CC_LIGHTBAR))) /* Optional features */ #undef CONFIG_CMD_HASH