Changeset 1622
- Timestamp:
- 02/19/10 22:15:59 (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r1610 r1622 341 341 endif (OSCamOperatingSystem MATCHES "Linux") 342 342 343 if (WEBIF) 344 add_definitions ("-DWEBIF") 345 endif (WEBIF) 346 343 347 #----------------------- put svnversion in the build ------------------------------ 344 348 # at every target rebuild, we re-build the oscam.c compilation... … … 379 383 # some optimisations 380 384 if (OSCamOperatingSystem MATCHES "Mac OS X") 381 add_definitions ("-O2 -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -m32")385 add_definitions ("-O2 -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -m32") 382 386 elseif (OSCAM_SYSTEM_NAME MATCHES "NSLU2") 383 add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")387 add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer") 384 388 else (OSCamOperatingSystem MATCHES "Mac OS X") 385 add_definitions ("-O2 -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer")389 add_definitions ("-O2 -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer") 386 390 endif (OSCamOperatingSystem MATCHES "Mac OS X") 387 391 … … 474 478 message (STATUS " use system libusb functions") 475 479 endif (HAVE_LIBUSB) 480 if (WEBIF) 481 message (STATUS " Web interface enabled") 482 endif (WEBIF) 476 483 message (STATUS "") -
trunk/csctapi/ifd_phoenix.c
r1584 r1622 113 113 call (Phoenix_SetBaudrate (DEFAULT_BAUDRATE)); 114 114 for(i=0; i<3; i++) { 115 cs_sleepms(200); // pause for 200ms as this might help with the PL2303 115 116 IO_Serial_Flush(); 116 117 call (IO_Serial_SetParity (parity[i])); … … 125 126 #endif 126 127 IO_Serial_RTS_Set(); 127 cs_sleepms( 50);128 cs_sleepms(200); // we went form 50 to 200 as this might help with the PL2303 128 129 #ifdef USE_GPIO //felix: set card reset hi (inactive) 129 130 if (gpio_detect) { … … 133 134 #endif 134 135 IO_Serial_RTS_Clr(); 136 cs_sleepms(200); // pause for 200ms as this might help with the PL2303 135 137 IO_Serial_Ioctl_Lock(0); 136 138 if(ATR_InitFromStream (atr, ATR_TIMEOUT) == ATR_OK) … … 196 198 call (tcgetattr (reader[ridx].handle, &tio) != 0); 197 199 call (IO_Serial_SetBitrate (baudrate, &tio)); 200 cs_sleepms(200); // pause for 200ms as this might help with the PL2303 198 201 call (IO_Serial_SetProperties(tio)); 202 cs_sleepms(200); // pause for 200ms as this might help with the PL2303 199 203 } 200 204 current_baudrate = baudrate; //so if update fails, current_baudrate is not changed either
Note:
See TracChangeset
for help on using the changeset viewer.