diff options
Diffstat (limited to 'common/timer.c')
| -rw-r--r-- | common/timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/timer.c b/common/timer.c index 8b8d37e8b..e0dec6cef 100644 --- a/common/timer.c +++ b/common/timer.c | |||
| @@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | // counter resolution 1ms | 24 | // counter resolution 1ms |
| 25 | // NOTE: union { uint32_t timer32; struct { uint16_t dummy; uint16_t timer16; }} | ||
| 25 | volatile uint32_t timer_count = 0; | 26 | volatile uint32_t timer_count = 0; |
| 26 | 27 | ||
| 27 | void timer_init(void) | 28 | void timer_init(void) |
