undo enable DEBUG
make proper use of gpio_register_callback