mirror of
https://github.com/google/pebble.git
synced 2025-04-24 05:27:07 -04:00
spelling: successfully
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
aee29ca34b
commit
9e89559322
11 changed files with 15 additions and 15 deletions
|
@ -90,7 +90,7 @@ void ble_ibeacon_destroy(BLEiBeacon *ibeacon);
|
|||
//! @param rssi The RSSI of the advertisement
|
||||
//! @param[out] ibeacon_out Will contain the parsed iBeacon data if the call
|
||||
//! returns true.
|
||||
//! @return true if the data element was succesfully parsed as iBeacon,
|
||||
//! @return true if the data element was successfully parsed as iBeacon,
|
||||
//! false if the data element could not be parsed as iBeacon.
|
||||
bool ble_ibeacon_parse(const BLEAdData *ad, int8_t rssi,
|
||||
BLEiBeacon *ibeacon_out);
|
||||
|
|
|
@ -52,12 +52,12 @@ typedef struct {
|
|||
//! reports and scan responses will be buffered. A PEBBLE_BLE_SCAN_EVENT will
|
||||
//! be generated when there is data to be collected.
|
||||
//! @see gap_le_consume_scan_results
|
||||
//! @return 0 if scanning started succesfully or an error code otherwise.
|
||||
//! @return 0 if scanning started successfully or an error code otherwise.
|
||||
bool gap_le_start_scan(void);
|
||||
|
||||
//! @internal
|
||||
//! Stops scanning.
|
||||
//! @return 0 if scanning stopped succesfully or an error code otherwise.
|
||||
//! @return 0 if scanning stopped successfully or an error code otherwise.
|
||||
bool gap_le_stop_scan(void);
|
||||
|
||||
//! @internal
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
//! @param number_str_length The length of the number_str buffer.
|
||||
//! @param multiplier The factor by which to multiply the parsed number.
|
||||
//! @param[out] number_out If the parsing was successful, the result will be stored here.
|
||||
//! @return True if the string was parsed succesfully.
|
||||
//! @return True if the string was parsed successfully.
|
||||
//! @note The first comma or period found is treated as decimal separator. Any subsequent comma or
|
||||
//! period that is found will cause parsing to be aborted and return false.
|
||||
//! @note An empty / zero-length string still will fail to parse and return false.
|
||||
|
|
|
@ -20,5 +20,5 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
//! @param rand_out Storage for the 32-bit random number generated by the STM32
|
||||
//! @return True if a random number was succesfully generated
|
||||
//! @return True if a random number was successfully generated
|
||||
bool rng_rand(uint32_t *rand_out);
|
||||
|
|
|
@ -103,7 +103,7 @@ static Receiver *prv_app_message_receiver_prepare(CommSession *session,
|
|||
rcv->header_bytes_remaining = header_bytes_remaining;
|
||||
|
||||
// Always forward the header to default system receiver as well, we'll cancel it later on if the
|
||||
// message was written succesfully to the app inbox.
|
||||
// message was written successfully to the app inbox.
|
||||
if (!prv_fwd_prepare(rcv, session, header_bytes_remaining)) {
|
||||
kernel_free(rcv);
|
||||
return NULL;
|
||||
|
|
|
@ -69,7 +69,7 @@ typedef void (*BlobDBInitImpl)(void);
|
|||
//! \param key_len the length of the key, in bytes
|
||||
//! \param val a pointer to the value data
|
||||
//! \param val_len the length of the value, in bytes
|
||||
//! \returns S_SUCCESS if the key/val pair was succesfully inserted
|
||||
//! \returns S_SUCCESS if the key/val pair was successfully inserted
|
||||
//! and an error code otherwise (See \ref StatusCode)
|
||||
typedef status_t (*BlobDBInsertImpl)
|
||||
(const uint8_t *key, int key_len, const uint8_t *val, int val_len);
|
||||
|
@ -87,7 +87,7 @@ typedef int (*BlobDBGetLenImpl)
|
|||
//! \param key_len the length of the key, in bytes
|
||||
//! \param[out] val_out a pointer to a buffer of size val_len
|
||||
//! \param val_len the length of the value to be copied, in bytes
|
||||
//! \returns S_SUCCESS if the value for key was succesfully read,
|
||||
//! \returns S_SUCCESS if the value for key was successfully read,
|
||||
//! and an error code otherwise (See \ref StatusCode)
|
||||
typedef status_t (*BlobDBReadImpl)
|
||||
(const uint8_t *key, int key_len, uint8_t *val_out, int val_len);
|
||||
|
@ -95,13 +95,13 @@ typedef status_t (*BlobDBReadImpl)
|
|||
//! Implements the delete API. Note that this function should be blocking.
|
||||
//! \param key a pointer to the key data
|
||||
//! \param key_len the length of the key, in bytes
|
||||
//! \returns S_SUCCESS if the key/val pair was succesfully deleted
|
||||
//! \returns S_SUCCESS if the key/val pair was successfully deleted
|
||||
//! and an error code otherwise (See \ref StatusCode)
|
||||
typedef status_t (*BlobDBDeleteImpl)
|
||||
(const uint8_t *key, int key_len);
|
||||
|
||||
//! Implements the flush API. Note that this function should be blocking.
|
||||
//! \returns S_SUCCESS if all key/val pairs were succesfully deleted
|
||||
//! \returns S_SUCCESS if all key/val pairs were successfully deleted
|
||||
//! and an error code otherwise (See \ref StatusCode)
|
||||
typedef status_t (*BlobDBFlushImpl)(void);
|
||||
|
||||
|
|
|
@ -899,7 +899,7 @@ static status_t create_flash_file(File *f) {
|
|||
}
|
||||
}
|
||||
|
||||
// we have succesfully allocated space for the file, so add file specific info
|
||||
// we have successfully allocated space for the file, so add file specific info
|
||||
f->start_page = f->curr_page = start_page;
|
||||
|
||||
FileHeader file_hdr;
|
||||
|
|
|
@ -269,7 +269,7 @@ void sys_process_get_wakeup_info(WakeupInfo *info);
|
|||
const PebbleProcessMd* sys_process_manager_get_current_process_md(void);
|
||||
|
||||
//! Copy UUID for the current process.
|
||||
//! @return True if the UUID was succesfully copied.
|
||||
//! @return True if the UUID was successfully copied.
|
||||
bool sys_process_manager_get_current_process_uuid(Uuid *uuid_out);
|
||||
|
||||
//! Get the AppInstallId for the current process
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef enum {
|
|||
//! The operation was successful.
|
||||
BTErrnoOK = 0,
|
||||
|
||||
//! Connection established succesfully.
|
||||
//! Connection established successfully.
|
||||
BTErrnoConnected = BTErrnoOK,
|
||||
|
||||
//! One or more parameters were invalid.
|
||||
|
|
|
@ -47,7 +47,7 @@ void bt_driver_handle_host_added_bonding(const BleBonding *bonding);
|
|||
//! Called by the FW when a bonding is removed (i.e. user "Forgot" a bonding from Settings).
|
||||
void bt_driver_handle_host_removed_bonding(const BleBonding *bonding);
|
||||
|
||||
//! Called by the BT driver after succesfully pairing a new device.
|
||||
//! Called by the BT driver after successfully pairing a new device.
|
||||
//! @param addr The address that is used to refer to the connection. This is used to associate
|
||||
//! the bonding with the GAPLEConnection.
|
||||
extern void bt_driver_cb_handle_create_bonding(const BleBonding *bonding,
|
||||
|
|
2
wscript
2
wscript
|
@ -1429,7 +1429,7 @@ class gdb_prf(BuildContext):
|
|||
|
||||
def openocd(ctx):
|
||||
""" Starts openocd and leaves it running. It will reset the board to
|
||||
increase the chances of attaching succesfully. """
|
||||
increase the chances of attaching successfully. """
|
||||
waftools.openocd.run_command(ctx, 'init; reset', shutdown=False)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue