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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user