Seytonic / Duckduino-microSD

Interpreter that runs on an arduino, decodes and executes ducky script on a microSD card.
290 stars 109 forks source link

cleaner code #5

Closed altreact closed 5 months ago

altreact commented 7 years ago

Used a for loop in the setup function to eliminate some repetition in the code. Spaced out a few lines, in order to make the code easier to read and understand. Removed redundant else fork from the "myfile" conditional. Renamed variables and added variables, in order to make the code more understandable at a quick glance, which ends up improving performance.