Files
OpenCellular/common
Nicolas Boichat 19aace4ec0 host_command: Throttle printing of "+" for repeated commands
When AP boots and FW screen is shown (e.g. in developer mode),
AP FW is querying MKBP status in a loop, leading to a lot of "+"
being printed in the EC console.

To avoid this issue, let's print "(++)" after a command is received
5 times in a row.

BRANCH=none
BUG=b:37925684
TEST=Set GBB flags to 0x4a38, reasonable number of "+" is printed
     on EC console on boot, which firmware screen is being shown.

Change-Id: I8368c558b97e7a2513b979322bd4bba442626b27
Reviewed-on: https://chromium-review.googlesource.com/505948
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2017-05-18 02:26:10 -07:00
..
2016-11-08 17:11:28 -08:00
2017-04-26 13:37:04 -07:00
2017-05-12 20:58:01 -07:00
2015-05-19 02:46:27 +00:00
2017-03-24 09:32:53 -07:00
2016-11-15 17:41:53 -08:00
2016-04-27 14:04:07 -07:00
2017-02-06 14:50:32 -08:00
2015-09-25 09:13:34 -07:00
2016-03-02 13:39:47 -08:00
2016-11-15 17:41:53 -08:00
2014-05-17 20:14:17 +00:00
2016-05-05 19:16:50 -07:00
2016-03-21 16:35:33 -07:00
2017-05-09 23:20:07 -07:00
2017-02-23 16:02:02 -08:00