Changeset 51
- Timestamp:
- 02/18/10 22:55:34 (15 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
webserver/example/EnergyMeters/EnergyMeters/Common/ethernet/uIP/uip-1.0/uip/uipopt.h
r14 r51 204 204 #define UIP_UDP_CONNS UIP_CONF_UDP_CONNS 205 205 #else /* UIP_CONF_UDP_CONNS */ 206 #define UIP_UDP_CONNS 10206 #define UIP_UDP_CONNS 8 207 207 #endif /* UIP_CONF_UDP_CONNS */ 208 208 … … 243 243 */ 244 244 #ifndef UIP_CONF_MAX_CONNECTIONS 245 #define UIP_CONNS 10245 #define UIP_CONNS 8 246 246 #else /* UIP_CONF_MAX_CONNECTIONS */ 247 247 #define UIP_CONNS UIP_CONF_MAX_CONNECTIONS … … 347 347 #define UIP_ARPTAB_SIZE UIP_CONF_ARPTAB_SIZE 348 348 #else 349 #define UIP_ARPTAB_SIZE 8349 #define UIP_ARPTAB_SIZE 20 350 350 #endif 351 351 webserver/example/EnergyMeters/Source/EnergyMeters/Meters_ISRs.c
r50 r51 36 36 IO2_INT_CLR |= (1<<10); 37 37 } 38 elseif ((IO2_INT_STAT_R & (1 << 0)) != 0) /* P0.0 interrupt triggered - connector J4, Pin 0*/38 if ((IO2_INT_STAT_R & (1 << 0)) != 0) /* P0.0 interrupt triggered - connector J4, Pin 0*/ 39 39 { 40 40 handleMeterTick(METER_INDEX_GAS); 41 41 IO2_INT_CLR |= (1<<0); 42 42 } 43 elseif ((IO2_INT_STAT_R & (1 << 1)) != 0) /* P0.1 interrupt triggered - connector J4, Pin 1*/43 if ((IO2_INT_STAT_R & (1 << 1)) != 0) /* P0.1 interrupt triggered - connector J4, Pin 1*/ 44 44 { 45 45 handleMeterTick(METER_INDEX_EL1); 46 46 IO2_INT_CLR |= (1<<1); 47 47 } 48 elseif ((IO2_INT_STAT_R & (1 << 2)) != 0) /* P0.2 interrupt triggered - connector J4, Pin 2*/48 if ((IO2_INT_STAT_R & (1 << 2)) != 0) /* P0.2 interrupt triggered - connector J4, Pin 2*/ 49 49 { 50 50 handleMeterTick(METER_INDEX_EL2); 51 51 IO2_INT_CLR |= (1<<2); 52 52 } 53 elseif ((IO2_INT_STAT_R & (1 << 3)) != 0) /* P0.3 interrupt triggered - connector J4, Pin 3*/53 if ((IO2_INT_STAT_R & (1 << 3)) != 0) /* P0.3 interrupt triggered - connector J4, Pin 3*/ 54 54 { 55 55 handleMeterTick(METER_INDEX_AU1); 56 56 IO2_INT_CLR |= (1<<3); 57 57 } 58 elseif ((IO2_INT_STAT_R & (1 << 4)) != 0) /* P0.4 interrupt triggered - connector J4, Pin 4*/58 if ((IO2_INT_STAT_R & (1 << 4)) != 0) /* P0.4 interrupt triggered - connector J4, Pin 4*/ 59 59 { 60 60 handleMeterTick(METER_INDEX_AU2);