pico-extras
pico-extras copied to clipboard
scanvideo.c claims fixed resources
scanvideo.c makes claims for fixed hardware resources, specifically PIO0, low numbered DMA channels and low numbered state machines. However these may have already been claimed for other services.
Ideally the code should be modified to use the claim_unused routines.
If that is not possible, at least used fixed high number DMA channels and state machines, which would be the last resources to be claimed by the claim_unused routines.
yeah, dynamic claiming would be a bit of a change (that may slow things down), but we should at least allow the user to override all the #defines