circuitpython/supervisor/shared
Trammell Hudson 4ab00d7125 mp_hal_delay_ms: avoid overflow when scaling ticks
This patch casts the delay argument to mp_hal_delay_ms()
from mp_uint_t to uint64_t when scaling from milliseconds
to ticks to avoid 32-bit integer overflow when time.sleep()
is called with a duration of greater than 70 minutes.

Signed-off-by: Trammell Hudson <hudson@trmm.net>
2021-09-17 17:28:03 +00:00
..
bluetooth Factor out common code and comment it 2021-09-13 16:12:40 -07:00
external_flash Simplify the status LED to save power 2021-05-13 14:41:20 -07:00
usb Check background pending before sleep 2021-08-19 12:18:13 -07:00
autoreload.c Two tweaks to BLE workflow 2021-08-24 13:57:42 -07:00
autoreload.h Two tweaks to BLE workflow 2021-08-24 13:57:42 -07:00
background_callback.c Check background pending before sleep 2021-08-19 12:18:13 -07:00
board.c run code formatting script 2021-03-15 19:27:36 +05:30
board.h run code formatting script 2021-03-15 19:27:36 +05:30
cpu.c modify copyright notice. 2021-04-25 19:57:21 +09:00
cpu.h modify copyright notice. 2021-04-25 19:57:21 +09:00
display.c Add ability to disable BLE workflow 2021-08-02 18:37:19 -07:00
display.h Turn off terminalio for ja and ko 2020-08-17 17:17:59 -07:00
filesystem.c Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
flash.c Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
internal_flash.h Hopefully fix flash flush and hopefully audio as well. 2020-03-13 11:12:31 -07:00
lock.c compiles 2021-06-14 20:54:43 -04:00
lock.h compiles 2021-06-14 20:54:43 -04:00
memory.c make next_code_allocation and prev_traceback_allocation movable 2021-09-12 18:06:03 +05:30
micropython.c Fix board builds and use MP_ERROR_TEXT in py and extmod 2021-05-05 17:51:52 -07:00
rgb_led_colors.h Simplify the status LED to save power 2021-05-13 14:41:20 -07:00
safe_mode.c Add a flag to skip waiting for safe mode 2021-08-31 09:53:30 +02:00
safe_mode.h address review comments 2021-05-05 12:35:12 -04:00
serial.c Create first BLE-only board, Micro:Bit v2 2021-07-14 09:55:51 -07:00
stack.c run code formatting script 2021-03-15 19:27:36 +05:30
stack.h run code formatting script 2021-03-15 19:27:36 +05:30
status_leds.c Support multiple status dotstars 2021-08-24 14:35:11 -07:00
status_leds.h Simplify the status LED to save power 2021-05-13 14:41:20 -07:00
tick.c mp_hal_delay_ms: avoid overflow when scaling ticks 2021-09-17 17:28:03 +00:00
tick.h supervisor: factor supervisor_background_tasks from sundry ports 2020-07-15 11:49:44 -05:00
traceback.c Formatting fixes 2021-07-22 12:57:10 -04:00
traceback.h Formatting fixes 2021-07-22 12:57:10 -04:00
translate.c Improve mp_printf with support for compressed strings 2021-08-09 08:27:28 -05:00
translate.h Improve mp_printf with support for compressed strings 2021-08-09 08:27:28 -05:00
workflow.c Switch to upstream TinyUSB 2021-01-21 11:33:13 -08:00
workflow.h workflow_active was never defined or used 2021-05-01 13:34:28 -04:00