Changeset 21cd0c8 in mainline


Ignore:
Timestamp:
2025-05-06T10:36:14Z (2 days ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
0cec807a
Parents:
629b480
git-author:
Jiri Svoboda <jiri@…> (2025-05-05 17:36:04)
git-committer:
Jiri Svoboda <jiri@…> (2025-05-06 10:36:14)
Message:

Avoid flooding log with mouse warnings during system startup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/mouse/mousedev.c

    r629b480 r21cd0c8  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2011 Lubos Slovak, Vojtech Horky
    34 * Copyright (c) 2018 Ondrej Hlavaty
     
    166167        assert(mouse_dev != NULL);
    167168
    168         if (mouse_dev->mouse_sess == NULL) {
    169                 usb_log_warning(NAME " No console session.");
    170                 return;
    171         }
     169        if (mouse_dev->mouse_sess == NULL)
     170                return;
    172171
    173172        const usb_hid_report_field_t *move_x = get_mouse_axis_move_field(
Note: See TracChangeset for help on using the changeset viewer.