PIString::toFloat/Double/LDouble own fast implementation (. and , equivalent)
PICout ldouble support PIEthernet small optimization
This commit is contained in:
@@ -909,6 +909,17 @@ void PIEthernet::server_func(void * eth) {
|
||||
}
|
||||
|
||||
|
||||
void PIEthernet::setType(Type t, bool reopen) {
|
||||
eth_type = t;
|
||||
setProperty("type", (int)t);
|
||||
if (reopen && isOpened()) {
|
||||
closeDevice();
|
||||
init();
|
||||
openDevice();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bool PIEthernet::configureDevice(const void * e_main, const void * e_parent) {
|
||||
PIConfig::Entry * em = (PIConfig::Entry * )e_main;
|
||||
PIConfig::Entry * ep = (PIConfig::Entry * )e_parent;
|
||||
|
||||
Reference in New Issue
Block a user