Allow serial receive without ES enabled. [Couriersud]

This commit is contained in:
Couriersud 2011-03-04 18:38:43 +00:00
parent 124e16952f
commit 8bfb17d971

View File

@ -1243,7 +1243,7 @@ INLINE void serial_receive(mcs51_state_t *mcs51_state)
{
int mode = (GET_SM0<<1) | GET_SM1;
if(GET_ES && GET_REN) {
if (GET_REN) {
switch(mode) {
//8 bit shifter ( + start,stop bit ) - baud set by clock freq / 12
case 0: