Skip to content

Commit

Permalink
Documentation change only: hopefully align line-endings.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobMeades committed Feb 14, 2024
1 parent 93e3cca commit 7eb1cfd
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion cell/api/u_cell_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ typedef enum {
* and the module must be re-booted afterwards (with a call to
* uCellPwrReboot()) for it to take effect.
*
* Note: only for LENA-R8, setting numBands to 0 means "enable all bands".
* Note: for LENA-R8 (and only LENA-R8), setting numBands to 0 means
* "enable all bands".
*
* @param cellHandle the handle of the cellular instance.
* @param rat the RAT to set the band mask for; must represent
Expand Down
6 changes: 3 additions & 3 deletions cell/api/u_cell_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ extern "C" {
*/
#define U_CELL_INFO_IMEI_SIZE 15

/** The number of digits required to store an ICCID. Note
* that 19 digit ICCIDs also exist. This size includes room
* for a null terminator.
/** The number of digits required to store an ICCID. Note that
* 19 digit ICCIDs also exist. This size includes room for a null
* terminator.
*/
#define U_CELL_INFO_ICCID_BUFFER_SIZE 21

Expand Down
2 changes: 1 addition & 1 deletion cell/src/u_cell_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
* -------------------------------------------------------------- */

/** Table to convert uCellNetRat_t to the value used in
* CONFIGURING the module, SARA_U201 form
* CONFIGURING the module, SARA_U201 form.
*/
static const int8_t gCellRatToModuleRatU201[] = {
-1, // Dummy value for U_CELL_NET_RAT_UNKNOWN_OR_NOT_USED
Expand Down
1 change: 1 addition & 0 deletions cell/src/u_cell_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@

// Convert the UTRAN RSSI number in 3GPP TS 25.133 format to dBm.
// Returns 0x7FFFFFFF if the number is not known.
//
// 0: less than -100 dBm
// 1..75: from -100 to -25 dBm with 1 dBm steps
// 76: -25 dBm or greater
Expand Down
2 changes: 1 addition & 1 deletion common/lib_common/genencryptedbin.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def main():

if use_encryption == "1":
aesccm = AESCCM(key,tag_size)
# Put the nonce at the start of the file.
# Put the nonce at the start of the file
data_enc = nonce + aesccm.encrypt(nonce,data,data_aad)
with open(libname,"wb") as f:
f.write(data_enc)
Expand Down
2 changes: 1 addition & 1 deletion port/platform/common/automation/docker/host/host_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ fi
# THIS MUST ALWAYS BE PLACED LASTLY IN THE SCRIPT!
# newgrp will spawn a subshell so any shell commands after that point will not be executed
if [ "$DOCKER_WAS_INSTALLED" == 1 ]; then
# Normally you need to logout in order to trigger the new group, but with this command this shouldn't be needed
# Normally you need to log out in order to trigger the new group, but with this command this shouldn't be needed
newgrp docker # Calling this here will start a sub-shell and cause any remaining commands to not execute
fi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sudo apt-get install docker-ce docker-ce-cli containerd.io

echo "Post installation..."
sudo groupadd -f docker
# Add docker group to current user
# Add docker group to the current user
sudo usermod -aG docker $USER

echo "Configure Docker to start on boot"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from invoke import context

def main(args):
'''Script entrypoint'''
'''Entrypoint'''
parser = ArgumentParser(description=
"This script will find the most likely base branch of a commit.")
parser.add_argument('--rev', nargs='?', default="HEAD",
Expand Down
4 changes: 2 additions & 2 deletions port/platform/common/automation/setup_linux.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

###########################################################################
# This will setup packages needed for ubxlib
# This will set up packages needed for ubxlib
###########################################################################

set -e
Expand Down Expand Up @@ -35,4 +35,4 @@ echo ""
read -p "Do you want to install Zephyr python modules? (y/n) " RESP
if [ "$RESP" = "y" ]; then
pip install -r https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/main/scripts/requirements.txt
fi
fi
4 changes: 2 additions & 2 deletions readme_images/important_msg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7eb1cfd

Please sign in to comment.