Ignore:
Timestamp:
2016-12-23T22:04:34Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a79b42a
Parents:
7259317
Message:

Do not try to use a serial device for output if the user did not specify one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/port/chardev.c

    r7259317 r00130656  
    157157        }
    158158
     159        if (!console) {
     160                /*
     161                 * The user specified some boot arguments, but the serial
     162                 * console service was not among them.
     163                 */
     164                return EOK;
     165        }
     166
    159167        rc = loc_category_get_id("serial", &serial_cat_id, IPC_FLAG_BLOCKING);
    160168        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.