DEVICE_DOWN
if (state & DEVICE_DOWN)
if (state & DEVICE_DOWN)
if (state & DEVICE_DOWN) {
if (state & DEVICE_DOWN) {
case DEVICE_DOWN:
case (DEVICE_DOWN | DEVICE_BUSY):
devstate = DEVICE_DOWN;
devstate = DEVICE_DOWN;
*state = DEVICE_DOWN;
devstate = DEVICE_DOWN;