Ignore:
File:
1 edited

Legend:

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

    r21cd0c8 r622e7c9  
    11/*
    2  * Copyright (c) 2025 Jiri Svoboda
    32 * Copyright (c) 2011 Lubos Slovak, Vojtech Horky
    43 * Copyright (c) 2018 Ondrej Hlavaty
     
    4746#include <str_error.h>
    4847#include <ipc/mouseev.h>
     48#include <io/console.h>
    4949
    5050#include <ipc/kbdev.h>
     
    167167        assert(mouse_dev != NULL);
    168168
    169         if (mouse_dev->mouse_sess == NULL)
    170                 return;
     169        if (mouse_dev->mouse_sess == NULL) {
     170                usb_log_warning(NAME " No console session.");
     171                return;
     172        }
    171173
    172174        const usb_hid_report_field_t *move_x = get_mouse_axis_move_field(
Note: See TracChangeset for help on using the changeset viewer.