On Thu, Apr 28, 2022 at 10:30 AM Linus Torvalds <torva...@linux-foundation.org> wrote: > > In fact, we should probably fill in all the other 'index[]' entries > too, but we never did, because [..]
Actually, the reason we never did is that we never expanded our sample array past two sensors. I thought we had, but we still have MAX_SENSORS being 2 (and a few sad hard-coded twos in the code, for that matter). So even if the code is (mostly) set up to handle more sensors, and even though I at one point wanted to get rid of the sensor thing entirely (and just make sensor numbers match cylinders), that never actually happened. And nobody seems to have noticed or cared, so I guess it's just as well. Linus _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface