« Previous | Next » 

Revision 8d3a8c1e

ID8d3a8c1e77b0485d4335aa3733c550dc606ac819

Added by Alexander Graf over 12 years ago

openpic: Unfold read_IRQreg

The helper function read_IRQreg was always called with a specific argument on
the type of register to access. Inside the function we were simply doing a
switch on that constant argument again. It's a lot easier to just unfold this
into two separate functions and call each individually.

Reported-by: Blue Swirl <>
Signed-off-by: Alexander Graf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences