fix printf compile warning

This commit is contained in:
Matthias Ringwald 2016-01-06 15:57:12 +01:00
parent ecf785d8ed
commit 420c236ebc

View File

@ -44,6 +44,7 @@
*/
// *****************************************************************************
#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@ -204,7 +205,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
case HCI_EVENT_USER_CONFIRMATION_REQUEST:
// ssp: inform about user confirmation request
printf("SSP User Confirmation Request with numeric value '%06u'\n", READ_BT_32(packet, 8));
printf("SSP User Confirmation Request with numeric value '%06"PRIu32"'\n", READ_BT_32(packet, 8));
printf("SSP User Confirmation Auto accept\n");
break;