Changeset 3bacee1 in mainline for uspace/drv/hid/ps2mouse/ps2mouse.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/ps2mouse/ps2mouse.c

    r76d0981d r3bacee1  
    165165
    166166        /* Probe IntelliMouse extensions. */
    167         errno_t (*polling_f)(void*) = polling_ps2;
     167        errno_t (*polling_f)(void *) = polling_ps2;
    168168        if (probe_intellimouse(mouse, false) == EOK) {
    169169                ddf_msg(LVL_NOTE, "Enabled IntelliMouse extensions");
     
    253253        errno_t rc;
    254254
    255         bool buttons[PS2_BUTTON_COUNT] = {};
     255        bool buttons[PS2_BUTTON_COUNT] = { };
    256256        while (true) {
    257                 uint8_t packet[PS2_BUFSIZE] = {};
     257                uint8_t packet[PS2_BUFSIZE] = { };
    258258                rc = ps2_mouse_read_packet(mouse, packet, PS2_BUFSIZE);
    259259                if (rc != EOK)
     
    305305        errno_t rc;
    306306
    307         bool buttons[INTELLIMOUSE_BUTTON_COUNT] = {};
     307        bool buttons[INTELLIMOUSE_BUTTON_COUNT] = { };
    308308        while (true) {
    309                 uint8_t packet[INTELLIMOUSE_BUFSIZE] = {};
     309                uint8_t packet[INTELLIMOUSE_BUFSIZE] = { };
    310310                rc = ps2_mouse_read_packet(mouse, packet, INTELLIMOUSE_BUFSIZE);
    311311                if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.