aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-11-26 20:52:14 +0100
committerMartin Braun <martin.braun@ettus.com>2014-11-26 20:52:14 +0100
commit5b706d29171202ab9fae991cebe2a6e84360fc9d (patch)
tree1791b3db4c7779fdc06c26b26513c4fe87353e3f
parent1f46acf1dceabcd70eea55c0f73e4ce4e6c47c23 (diff)
parent3fd576a26505892db72068ce436daaa915414832 (diff)
downloaduhd-5b706d29171202ab9fae991cebe2a6e84360fc9d.tar.gz
uhd-5b706d29171202ab9fae991cebe2a6e84360fc9d.tar.bz2
uhd-5b706d29171202ab9fae991cebe2a6e84360fc9d.zip
Merge branch 'maint'
-rw-r--r--tools/kitchen_sink/kitchen_sink.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/kitchen_sink/kitchen_sink.cpp b/tools/kitchen_sink/kitchen_sink.cpp
index c73eafbe4..f350f4516 100644
--- a/tools/kitchen_sink/kitchen_sink.cpp
+++ b/tools/kitchen_sink/kitchen_sink.cpp
@@ -171,14 +171,20 @@ static void _select_msg_colour(char c, std::stringstream& ss)
switch (c)
{
case 'U':
+ ss << COLOUR_MAGENTA;
+ break;
case 'L':
ss << COLOUR_RED;
break;
case 'S':
+ ss << COLOUR_CYAN;
+ break;
case 'O':
- case 'D':
ss << COLOUR_GREEN;
break;
+ case 'D':
+ ss << COLOUR_YELLOW;
+ break;
default:
ss << COLOUR_BLACK;
}
@@ -1844,7 +1850,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
running = false;
- std::cout << HEADER "Stopping..." << std::endl;
+ std::cout << HEADER << "(" << get_stringified_time() << ") Stopping..." << std::endl;
// FIXME: Timed wait & re-enable interruptions