File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 27
27
#ifndef CIRCUITPY_INCLUDED_SUPERVISOR_BACKGROUND_CALLBACK_H
28
28
#define CIRCUITPY_INCLUDED_SUPERVISOR_BACKGROUND_CALLBACK_H
29
29
30
- #include "supervisor/port.h"
31
-
32
30
/** Background callbacks are a linked list of tasks to call in the background.
33
31
*
34
32
* Include a member of type `background_callback_t` inside an object
@@ -86,6 +84,4 @@ void background_callback_end_critical_section(void);
86
84
*/
87
85
void background_callback_gc_collect (void );
88
86
89
- uint64_t background_get_ticks (void );
90
-
91
87
#endif
Original file line number Diff line number Diff line change @@ -69,13 +69,12 @@ uint32_t *port_heap_get_bottom(void);
69
69
// Get heap top address
70
70
uint32_t * port_heap_get_top (void );
71
71
72
+ supervisor_allocation * port_fixed_heap (void );
73
+
72
74
// Save and retrieve a word from memory that is preserved over reset. Used for safe mode.
73
75
void port_set_saved_word (uint32_t );
74
76
uint32_t port_get_saved_word (void );
75
77
76
- // Used to keep track of last time background was run
77
- uint64_t get_background_ticks (void );
78
-
79
78
// Get the raw tick count since start up. A tick is 1/1024 of a second, a common low frequency
80
79
// clock rate. If subticks is not NULL then the port will fill in the number of subticks where each
81
80
// tick is 32 subticks (for a resolution of 1/32768 or 30.5ish microseconds.)
You can’t perform that action at this time.
0 commit comments