Ignore:
Timestamp:
Feb 9, 2011, 8:19:30 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
d085040
Parents:
af3048a
Message:

2011-02-09 Ralf Corsépius <ralf.corsepius@…>

  • shared/milkymist_timer/timer.c, shared/timer/timer.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/lm32/shared/milkymist_timer/timer.c

    raf3048a r44d7753  
    2222#include <rtems.h>
    2323#include <bsp.h>
     24#include <rtems/btimer.h>
    2425#include "../include/system_conf.h"
    2526#include "../../shared/clock/clock.h"
     
    5960#define LEAST_VALID       4  /* Don't trust a clicks value lower than this */
    6061
    61 int benchmark_timer_read( void )
     62uint32_t benchmark_timer_read( void )
    6263{
    6364  uint32_t ticks;
Note: See TracChangeset for help on using the changeset viewer.