Improved logging in the Playing_Interacting state.
This commit is contained in:
parent
c11206e625
commit
cb72042691
1 changed files with 5 additions and 1 deletions
|
@ -306,6 +306,10 @@ static void Playing__Interacting_Do(StateMachineContext_T * context)
|
|||
xQueueSend(xQueueNeoPixels, &neopixels_action, 0);
|
||||
|
||||
Increment_Tags_Received();
|
||||
|
||||
#ifdef LOG_INTERACTING_SUBSTATE
|
||||
KLOG_INFO(KLOG_TAG, "%u of %u health remaining", KTAG_Game_Data.My_Health, KTAG_Game_Data.Max_Health);
|
||||
#endif // LOG_INTERACTING_SUBSTATE
|
||||
}
|
||||
}
|
||||
else if (player_ID != my_player_ID)
|
||||
|
@ -345,7 +349,7 @@ static void Playing__Interacting_Do(StateMachineContext_T * context)
|
|||
|
||||
case KEVENT_BLE_PACKET_RECEIVED:
|
||||
#ifdef LOG_INTERACTING_SUBSTATE
|
||||
KLOG_INFO(KLOG_TAG, "KEVENT_BLE_PACKET_RECEIVED from %s", BLE_ADDR_To_Str(((BLE_Packet_T *)Event.Data)->Generic.BD_ADDR));
|
||||
//KLOG_INFO(KLOG_TAG, "KEVENT_BLE_PACKET_RECEIVED from %s", BLE_ADDR_To_Str(((BLE_Packet_T *)Event.Data)->Generic.BD_ADDR));
|
||||
#endif // LOG_INTERACTING_SUBSTATE
|
||||
if (((BLE_Packet_T *)Event.Data)->Generic.type == BLE_PACKET_TYPE_STATUS)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue