Skip to content

Commit d4eb28c

Browse files
gknopsGerd Knops
andauthored
Change u8_t to uint8_t to fix a build issue with Docker under macOS (#2151)
Change `u8_t` to `uint8_t` to fix a build issue with Docker under macOS. This addresses issue #2149 . Co-authored-by: Gerd Knops <gerd-git@knops.org>
1 parent fb4a483 commit d4eb28c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • source/Core/BSP/Pinecilv2/bl_mcu_sdk/components/ble/ble_stack/host

source/Core/BSP/Pinecilv2/bl_mcu_sdk/components/ble/ble_stack/host/ecc.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct bt_pub_key_cb {
1616
*
1717
* @param key The local public key, or NULL in case of no key.
1818
*/
19-
void (*func)(const u8_t key[64]);
19+
void (*func)(const uint8_t key[64]);
2020

2121
struct bt_pub_key_cb *_next;
2222
};
@@ -40,7 +40,7 @@ int bt_pub_key_gen(struct bt_pub_key_cb *cb);
4040
*
4141
* @return Current key, or NULL if not available.
4242
*/
43-
const u8_t *bt_pub_key_get(void);
43+
const uint8_t *bt_pub_key_get(void);
4444

4545
/* @typedef bt_dh_key_cb_t
4646
* @brief Callback type for DH Key calculation.
@@ -49,7 +49,7 @@ const u8_t *bt_pub_key_get(void);
4949
*
5050
* @param key The DH Key, or NULL in case of failure.
5151
*/
52-
typedef void (*bt_dh_key_cb_t)(const u8_t key[32]);
52+
typedef void (*bt_dh_key_cb_t)(const uint8_t key[32]);
5353

5454
/* @brief Calculate a DH Key from a remote Public Key.
5555
*
@@ -60,4 +60,4 @@ typedef void (*bt_dh_key_cb_t)(const u8_t key[32]);
6060
*
6161
* @return Zero on success or negative error code otherwise
6262
*/
63-
int bt_dh_key_gen(const u8_t remote_pk[64], bt_dh_key_cb_t cb);
63+
int bt_dh_key_gen(const uint8_t remote_pk[64], bt_dh_key_cb_t cb);

0 commit comments

Comments
 (0)