From de9cf8e01a92cebf53fd9405e6f184081d65075e Mon Sep 17 00:00:00 2001 From: bachi Date: Fri, 5 Apr 2019 14:59:25 +0200 Subject: [PATCH] ad9915.c & ad9915.h : suppression de la fonction checksize --- include/ad9915.h | 1 - src/ad9915.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/include/ad9915.h b/include/ad9915.h index 84f0d7f..900abb5 100644 --- a/include/ad9915.h +++ b/include/ad9915.h @@ -47,7 +47,6 @@ void basicSetup(int fd, int f_dds, uint16_t ampWord, uint16_t phaseWord); void modulusSetup(int fd, int f_dds); void setFreqMM(int fd, int f_dds, unsigned int ftw, unsigned int A, unsigned int B); void setAmpPhaseWord(int fd, int f_dds,unsigned int phaseAmpWord); -void checkSize(void); int openAndSetDdsFreq( char * device, char * gpio_update, double f_clk, double f_out, uint16_t ampWord, uint16_t phaseWord); int receiveParameterFromPythonServer(char * device, double f_clk, double f_out); int setDdsFreqFull ( int fd, int f_dds, double f_clk, double f_out, uint16_t ampWord, uint16_t phaseWord); diff --git a/src/ad9915.c b/src/ad9915.c index ac15d98..53944a4 100644 --- a/src/ad9915.c +++ b/src/ad9915.c @@ -126,10 +126,6 @@ void setAmpPhaseWord(int fd, int f_dds,unsigned int phaseAmpWord) sendIOUpdate(f_dds); } -void checkSize(void) -{ - printf("int : %d\n",sizeof(unsigned int)); -} int openAndSetDdsFreq( char * device, char * gpio_update, double f_clk, double f_out, uint16_t ampWord, uint16_t phaseWord) { -- 2.16.4