Correct casting in console.c for polling time value in select statements and definitions for device handler functions moved into console.c from channel.c.