Mikrocontroller-net / transistortester

https://www.mikrocontroller.net/articles/AVR_Transistortester
427 stars 146 forks source link

Use avr-gcc built-in F_CPU instead of custom OP_MHZ option #10

Open powerbroker opened 1 year ago

powerbroker commented 1 year ago

with built-in F-CPU value OP_MHZ can be easily calculated as 'F_CPU / 1000000' and is redundant as a separate setting.

just replace it with F_CPU so user has less headache when configures CPU frequency.