mirror of
https://github.com/gillham/logic_analyzer.git
synced 2026-05-01 23:53:02 +03:00
Add notes about 2MHz/4MHz mode and binary size.
Also move a couple more things under #ifdef DEBUG in an attempt to reduce the code size for ATmega168. It current doesn't fit in the '168 but maybe after some more tweaks.
This commit is contained in:
@@ -516,6 +516,7 @@ void captureMicro() {
|
||||
* Arduino digital pin 8 is being used here.
|
||||
*/
|
||||
DEBUG_ENABLE;
|
||||
#ifdef DEBUG
|
||||
DEBUG_ON;
|
||||
delayMicroseconds(20);
|
||||
DEBUG_OFF;
|
||||
@@ -524,6 +525,7 @@ void captureMicro() {
|
||||
delayMicroseconds(20);
|
||||
DEBUG_OFF;
|
||||
delayMicroseconds(20);
|
||||
#endif
|
||||
|
||||
if (delayTime == 1) {
|
||||
/*
|
||||
@@ -691,6 +693,7 @@ void triggerMicro() {
|
||||
* Arduino digital pin 8 is being used here.
|
||||
*/
|
||||
DEBUG_ENABLE;
|
||||
#ifdef DEBUG
|
||||
DEBUG_ON;
|
||||
delayMicroseconds(20);
|
||||
DEBUG_OFF;
|
||||
@@ -699,6 +702,7 @@ void triggerMicro() {
|
||||
delayMicroseconds(20);
|
||||
DEBUG_OFF;
|
||||
delayMicroseconds(20);
|
||||
#endif
|
||||
|
||||
if (delayTime == 1) {
|
||||
/*
|
||||
@@ -1027,3 +1031,5 @@ void debugdump() {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user