Removing some prior changes

This commit is contained in:
DavePutz 2020-09-14 10:52:46 -05:00 committed by GitHub
parent c68098777d
commit 127346f7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -27,8 +27,6 @@
#ifndef CIRCUITPY_INCLUDED_SUPERVISOR_BACKGROUND_CALLBACK_H
#define CIRCUITPY_INCLUDED_SUPERVISOR_BACKGROUND_CALLBACK_H
#include "supervisor/port.h"
/** Background callbacks are a linked list of tasks to call in the background.
*
* Include a member of type `background_callback_t` inside an object
@ -86,6 +84,4 @@ void background_callback_end_critical_section(void);
*/
void background_callback_gc_collect(void);
uint64_t background_get_ticks(void);
#endif

View File

@ -69,13 +69,12 @@ uint32_t *port_heap_get_bottom(void);
// Get heap top address
uint32_t *port_heap_get_top(void);
supervisor_allocation* port_fixed_heap(void);
// Save and retrieve a word from memory that is preserved over reset. Used for safe mode.
void port_set_saved_word(uint32_t);
uint32_t port_get_saved_word(void);
// Used to keep track of last time background was run
uint64_t get_background_ticks(void);
// Get the raw tick count since start up. A tick is 1/1024 of a second, a common low frequency
// clock rate. If subticks is not NULL then the port will fill in the number of subticks where each
// tick is 32 subticks (for a resolution of 1/32768 or 30.5ish microseconds.)