3 ms·
From the code repo (https://github.com/ploopyco/mouse/blob/master/firmware/production.ino https://github.com/ploopyco/mouse/blob/master/firmware/produ...):
by dmitrygr 7y ago
From the code repo (https://github.com/ploopyco/mouse/blob/master/firmware/production.ino https://github.com/ploopyco/mouse/blob/master/firmware/produ...):
// Startup delay. This sometimes prevents a USB handshake lockup.
delay(1000);
- saagarjha 7y agoHey, at least they're open about it. I would be surprised if most of my hardware didn't have something like that in it.
- abledon 7y agofinally some honest code, read a HN thread a while back about the Excel source code, and how some comments in it said "dont touch this" and something about how they didn't really know why it worked, but if that line was removed the whole loop broke.
- yitchelle 7y agoAnother gem at (https://github.com/ploopyco/mouse/blob/master/firmware/SROM_0x04_Arduino.ino https://github.com/ploopyco/mouse/blob/master/firmware/SROM_...) // This is the firmware that is uploaded to the PMW3360 each time the mouse starts up. // Don't mess with this. Just...just trust me. Don't do it.
- SuperPaintMan 7y agoThe irony of that comment is that me and buddy are porting QMK to it right now and had to add to it :)