mirror of
https://github.com/google/pebble.git
synced 2025-05-01 07:41:41 -04:00
spelling: overflow
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
b2075d3b2a
commit
1e3f63fe26
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
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);
|
uint32_t upper_bits_mask = ~((0x1 << sample_time_bit) - 1);
|
||||||
start_time &= upper_bits_mask;
|
start_time &= upper_bits_mask;
|
||||||
end_time &= upper_bits_mask;
|
end_time &= upper_bits_mask;
|
||||||
|
|
|
@ -441,7 +441,7 @@ class StackRecover(gdb.Command):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(StackRecover, self).__init__('pbl stackwizard', gdb.COMMAND_USER)
|
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)
|
self.parser = gdb_utils.GdbArgumentParser(prog='pbl stackwizard', description=desc)
|
||||||
|
|
||||||
def print_usage(self):
|
def print_usage(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue