Changeset 12231 for trunk/FACT++
- Timestamp:
- 10/23/11 12:39:26 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ConnectionUSB.cc
r12229 r12231 17 17 18 18 using ba::serial_port_base; 19 20 #include <fstream> 21 #include <iomanip> 22 #include "Time.h" 23 #define DEBUG 19 24 20 25 //#define DEBUG_TX … … 178 183 ofstream fout("tansmitted.txt", ios::app); 179 184 fout << Time() << ": "; 180 for ( int i=0; i<fOutQueue.front().size(); i++)185 for (unsigned int i=0; i<fOutQueue.front().size(); i++) 181 186 fout << hex << setfill('0') << setw(2) << (uint32_t)fOutQueue.front()[i]; 182 187 fout << endl; … … 228 233 ofstream fout("send.txt", ios::app); 229 234 fout << Time() << ": "; 230 for ( int i=0; i<msg.size(); i++)235 for (unsigned int i=0; i<msg.size(); i++) 231 236 fout << hex << setfill('0') << setw(2) << (uint32_t)msg[i]; 232 237 fout << endl; -
trunk/FACT++/src/biasctrl.cc
r12230 r12231 26 26 using namespace BIAS; 27 27 28 #define DEBUG 29 28 30 // ------------------------------------------------------------------------ 29 31 … … 299 301 ofstream fout("received.txt", ios::app); 300 302 fout << Time() << ": "; 301 for ( int i=0; i<bytes_received; i++)303 for (unsigned int i=0; i<bytes_received; i++) 302 304 fout << hex << setfill('0') << setw(2) << (uint32_t)buf[i]; 303 305 fout << endl;
Note:
See TracChangeset
for help on using the changeset viewer.