This represents a recurring subfunction throughout libCamera
| 402 | |
| 403 | // This represents a recurring subfunction throughout libCamera |
| 404 | error_code check_resolution(s32 dev_num) |
| 405 | { |
| 406 | // TODO: Some sort of connection check maybe? |
| 407 | // if (error == CELL_CAMERA_ERROR_RESOLUTION_UNKNOWN) |
| 408 | //{ |
| 409 | // return CELL_CAMERA_ERROR_TIMEOUT; |
| 410 | //} |
| 411 | // TODO: Yet another CELL_CAMERA_ERROR_FATAL |
| 412 | return CELL_OK; |
| 413 | } |
| 414 | |
| 415 | // This represents a oftenly used sequence in libCamera (usually the beginning of a subfunction). |
| 416 | // There also exist common sequences for mutex lock/unlock by the way. |
no outgoing calls
no test coverage detected