pico_time comment changes: remove stale comment, include warning about integer overflow

This commit is contained in:
graham sanderson
2021-01-28 08:06:27 -06:00
committed by Graham Sanderson
parent 372aee1445
commit 8dd84ad0d8
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,6 @@
#include "hardware/gpio.h"
const absolute_time_t ABSOLUTE_TIME_INITIALIZED_VAR(nil_time, 0);
// use LONG_MAX not ULONG_MAX so we don't have sign overflow in time diffs
const absolute_time_t ABSOLUTE_TIME_INITIALIZED_VAR(at_the_end_of_time, ULONG_MAX);
typedef struct alarm_pool_entry {