hmi-debug.h:Optimise code quality 86/22186/6
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>
Wed, 21 Aug 2019 05:59:29 +0000 (13:59 +0800)
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>
Wed, 21 Aug 2019 05:59:29 +0000 (13:59 +0800)
commitdd1157b6dc1daf973eeac564736cf408c9f6f7b7
tree14f75333958560eefc9de7c2094213ed1233facd
parent838d62ed32a6cd6d71c72a7b7b272d672bc7e674
hmi-debug.h:Optimise code quality

This patch do below things:
1) standarize code indent and style;
2) add log when message is NULL, it may be a result of vasprintf failed or disable message manually;
3) add microsecond round up check.

Bug-AGL: SPEC-2760

Change-Id: I1cac7a8f4755526c40f83aa3d6dfb3fbe0819fac
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
homescreen/src/hmi-debug.h