Changeset e8c1fb0 in mainline


Ignore:
Timestamp:
2011-03-10T15:16:22Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77ab674
Parents:
7309799
Message:

Exiting from the polling loop if an error occurs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/kbddev.c

    r7309799 re8c1fb0  
    759759                        usb_log_warning("Failed to start a session: %s.\n",
    760760                            str_error(sess_rc));
    761                         continue;
     761                        break;
    762762                }
    763763
     
    771771                        usb_log_warning("Error polling the keyboard: %s.\n",
    772772                            str_error(rc));
    773                         continue;
     773                        break;
    774774                }
    775775
     
    777777                        usb_log_warning("Error closing session: %s.\n",
    778778                            str_error(sess_rc));
    779                         continue;
     779                        break;
    780780                }
    781781
     
    798798                //async_usleep(kbd_dev->hid_dev->poll_interval);
    799799        }
    800 
    801         // not reached
    802         assert(0);
    803800}
    804801
Note: See TracChangeset for help on using the changeset viewer.