From 1e3f63fe26d3cecb9fb615be69f1b8e6926e2e35 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:23:45 -0500 Subject: [PATCH] spelling: overflow Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/drivers/imu/bmi160/bmi160.c | 2 +- tools/gdb_scripts/gdb_tintin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fw/drivers/imu/bmi160/bmi160.c b/src/fw/drivers/imu/bmi160/bmi160.c index 8d9c1fef..37042ec1 100644 --- a/src/fw/drivers/imu/bmi160/bmi160.c +++ b/src/fw/drivers/imu/bmi160/bmi160.c @@ -262,7 +262,7 @@ static bool prv_new_sample_collected(uint8_t sensor_timestamp_before[3], uint32_t sample_time_bit = prv_get_sample_collection_bit(); - // see if the upper bits oveflowed + // see if the upper bits overflowed uint32_t upper_bits_mask = ~((0x1 << sample_time_bit) - 1); start_time &= upper_bits_mask; end_time &= upper_bits_mask; diff --git a/tools/gdb_scripts/gdb_tintin.py b/tools/gdb_scripts/gdb_tintin.py index c9b90e79..b9d5896a 100644 --- a/tools/gdb_scripts/gdb_tintin.py +++ b/tools/gdb_scripts/gdb_tintin.py @@ -441,7 +441,7 @@ class StackRecover(gdb.Command): def __init__(self): super(StackRecover, self).__init__('pbl stackwizard', gdb.COMMAND_USER) - desc = "Attempts to recover a backtrace from a corrupted stack (i.e stack oveflow)" + desc = "Attempts to recover a backtrace from a corrupted stack (i.e stack overflow)" self.parser = gdb_utils.GdbArgumentParser(prog='pbl stackwizard', description=desc) def print_usage(self):