Skip to content

Commit 127346f

Browse files
authored
Removing some prior changes
1 parent c680987 commit 127346f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

supervisor/background_callback.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#ifndef CIRCUITPY_INCLUDED_SUPERVISOR_BACKGROUND_CALLBACK_H
2828
#define CIRCUITPY_INCLUDED_SUPERVISOR_BACKGROUND_CALLBACK_H
2929

30-
#include "supervisor/port.h"
31-
3230
/** Background callbacks are a linked list of tasks to call in the background.
3331
*
3432
* Include a member of type `background_callback_t` inside an object
@@ -86,6 +84,4 @@ void background_callback_end_critical_section(void);
8684
*/
8785
void background_callback_gc_collect(void);
8886

89-
uint64_t background_get_ticks(void);
90-
9187
#endif

supervisor/port.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,12 @@ uint32_t *port_heap_get_bottom(void);
6969
// Get heap top address
7070
uint32_t *port_heap_get_top(void);
7171

72+
supervisor_allocation* port_fixed_heap(void);
73+
7274
// Save and retrieve a word from memory that is preserved over reset. Used for safe mode.
7375
void port_set_saved_word(uint32_t);
7476
uint32_t port_get_saved_word(void);
7577

76-
// Used to keep track of last time background was run
77-
uint64_t get_background_ticks(void);
78-
7978
// Get the raw tick count since start up. A tick is 1/1024 of a second, a common low frequency
8079
// clock rate. If subticks is not NULL then the port will fill in the number of subticks where each
8180
// tick is 32 subticks (for a resolution of 1/32768 or 30.5ish microseconds.)

0 commit comments

Comments
 (0)