pico_time comment changes: remove stale comment, include warning about integer overflow
This commit is contained in:
committed by
Graham Sanderson
parent
372aee1445
commit
8dd84ad0d8
@ -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 {
|
||||
|
Reference in New Issue
Block a user