Revision 1496
Reverted "libdragonfly" folder back to version before Init Checking was implemented and did "make dist" to recompile the library. BOM LEDs now shine
correctly.
time.h | ||
---|---|---|
37 | 37 |
#ifndef _TIME_H_ |
38 | 38 |
#define _TIME_H_ |
39 | 39 |
|
40 |
|
|
41 | 40 |
/* Predefined times for prescale_opt in time.c. |
42 | 41 |
To make you own, know that a pulse is 1/16th of a second. You cannot get less than this. To get more, you need |
43 | 42 |
to know how many 16ths of a second are in the time you want. (Time_desired * 16 = prescaler_opt) |
... | ... | |
64 | 63 |
/** @brief Delay execution for the specified time **/ |
65 | 64 |
void delay_ms(int ms) ; |
66 | 65 |
/** @brief Enable the realtime clock **/ |
67 |
int rtc_init(int prescale_opt, void (*rtc_func)(void));
|
|
66 |
void rtc_init(int prescale_opt, void (*rtc_func)(void));
|
|
68 | 67 |
/** @brief Reset the counter of the realtime clock **/ |
69 | 68 |
void rtc_reset(void); |
70 | 69 |
/** @brief Get the value of the realtime clock. **/ |
Also available in: Unified diff