Mercurial > hg > fxanalyse
comparison DDS4xAD9912.c @ 112:e501896c0e7c
Avoid compilation warning
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Tue, 02 Jul 2013 12:58:34 +0200 |
parents | 54e7b129ecc2 |
children | 43b35f4aae78 |
comparison
equal
deleted
inserted
replaced
111:8bdd7e38715f | 112:e501896c0e7c |
---|---|
45 //============================================================================== | 45 //============================================================================== |
46 | 46 |
47 | 47 |
48 static int DDS4xAD9912_SendCmd(int DDSNum, char * Buffer) | 48 static int DDS4xAD9912_SendCmd(int DDSNum, char * Buffer) |
49 { | 49 { |
50 int port; | 50 int port = 0; |
51 int rv; | 51 int rv; |
52 | 52 |
53 switch (DDSNum) { | 53 switch (DDSNum) { |
54 case 1: | 54 case 1: |
55 port = Port1; | 55 port = Port1; |