erichelgeson / BlueSCSI

A small SCSI device based on stm32
Other
386 stars 61 forks source link

Ensure allocLength is defined when needed in onReadBuffer #251

Closed dotsam closed 1 year ago

dotsam commented 1 year ago

While looking in to another issue, I discovered that debug builds were broken due to a variable only being defined in a later conditional. This change moves it back up to a common point where it is a available for all debugging output

erichelgeson commented 1 year ago

Thanks for taking the time to fix this!