mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
fix printf compile warning
This commit is contained in:
parent
ecf785d8ed
commit
420c236ebc
@ -44,11 +44,12 @@
|
|||||||
*/
|
*/
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "btstack-config.h"
|
#include "btstack-config.h"
|
||||||
|
|
||||||
#include "run_loop.h"
|
#include "run_loop.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:
|
case HCI_EVENT_USER_CONFIRMATION_REQUEST:
|
||||||
// ssp: inform about 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");
|
printf("SSP User Confirmation Auto accept\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user