| 218 | }; |
| 219 | |
| 220 | eZ80portrange_t init_control(void) { |
| 221 | memset(&control, 0, sizeof control); |
| 222 | gui_console_printf("[CEmu] Initialized Control Ports...\n"); |
| 223 | |
| 224 | /* Set default state to full battery and not charging */ |
| 225 | control.batteryCharging = false; |
| 226 | control.setBatteryStatus = BATTERY_4; |
| 227 | |
| 228 | return device; |
| 229 | } |
| 230 | |
| 231 | |
| 232 | void control_reset(void) { |
no test coverage detected