1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

atrf-xtal: moved atben-specific code to atben.c

- atrf-xtal.c (cmp, eval, do_atben): moved to atben.c
- atrf-xtal.c (setup, sample, cleanup): removed wrappers
- atrf-xtal.c (usage): cast strlen result, for x86-64 compatibility
- atrf-xtal.h (atben_setup, atben_sample, atben_cleanup), atrf-xtal.c:
  device interface functions are now "static"
- atrf-xtal.h (do_atben): do_atben is now our new interface
This commit is contained in:
Werner Almesberger
2011-05-30 02:56:10 -03:00
parent 5a6aae57cb
commit bdca20479b
3 changed files with 77 additions and 104 deletions

View File

@@ -17,8 +17,7 @@
#include "atrf.h"
void atben_setup(struct atrf_dsc *dsc, int size, int trim);
unsigned atben_sample(struct atrf_dsc *dsc);
void atben_cleanup(struct atrf_dsc *dsc);
void do_atben(struct atrf_dsc *dsc, int size, int trim, int rep,
int dump_raw, double base, double ppm);
#endif /* !ATRF_XTAL_H */