diff options
Diffstat (limited to 'Source/System.c')
| -rw-r--r-- | Source/System.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/Source/System.c b/Source/System.c index 75a1010..864e2fc 100644 --- a/Source/System.c +++ b/Source/System.c @@ -600,36 +600,20 @@ uint8_t* SystemGetBufferAddress(void) /* ****************************************************************** * - * @name void SystemClearBuffer(void) + * @name void SystemClearFileBuffer(void) * * @author: Xavier Del Campo * * @return: Fills internal buffer with zeros * * *****************************************************************/ -void SystemClearBuffer(void) +void SystemClearFileBuffer(void) { memset(file_buffer, 0, sizeof (file_buffer)); } /* ****************************************************************** * - * @name void SystemWaitCycles(uint32_t cycles) - * - * @author: Xavier Del Campo - * - * @return: halts program execution for n-"cycles" - * - * *****************************************************************/ -void SystemWaitCycles(uint32_t cycles) -{ - uint64_t currentTime = global_timer; - - while (global_timer < (currentTime + cycles) ); -} - -/* ****************************************************************** - * * @name uint32_t SystemRand(uint32_t min, uint32_t max) * * @author: Xavier Del Campo |
