jbentham / rpi

Source code for the Raspberry Pi
110 stars 30 forks source link

Is this a (typing) bug ? #8

Open pjalocha opened 3 years ago

pjalocha commented 3 years ago

https://github.com/jbentham/rpi/blob/1f1e541fdd56f105ebee347f70690a649ed6fbf1/rpi_dma_utils.c#L97

Shouldn't there be 1 << ( pin % 32 ) ?

jbentham commented 3 years ago

Yes! Well caught.

On 31/07/2021 01:55, Paweł Jałocha wrote:

Reply to this email directly, view it on GitHub https://github.com/jbentham/rpi/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNUSERGDYLSLNSCXW72KD3T2NCXTANCNFSM5BJOR7TA.