ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
317 stars 21 forks source link

Fix quantity for a reference counting by using number of references #661

Closed ohmtech-rdi closed 9 months ago

ohmtech-rdi commented 9 months ago

This PR fixes a bug where the quantity field in a BOM was not matching the references field.

A same reference can be counted multiple time when split into different parts, eg. U1A, U1B, etc. We use the reference field to deduce quantity, because it is the ground truth.