jfdelnero / Pauline

Pauline Floppy disk dumper and Floppy drive emulator
14 stars 3 forks source link

Make IO port constant names consistent #3

Open Sanqui opened 7 months ago

Sanqui commented 7 months ago

Previously, some pins were defined with a single digit and some with a leading zero. Some pins were defined with _OUT and some without. This commit adds aliases for all variants.

I know this is a simple pull request, but I just lost an hour trying to debug my setup until I found out my config has to look like this:

set DRIVE_5_SELECT_LINE DRIVES_PORT_PIN13_OUT
set DRIVE_5_MOTOR_LINE  DRIVES_PORT_PIN6

So adding aliases for all variants should prevent some future headaches. :)