summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/driver/resistive_load.h10
-rw-r--r--include/object/ptalog.h2
2 files changed, 10 insertions, 2 deletions
diff --git a/include/driver/resistive_load.h b/include/driver/resistive_load.h
index 74725ac..b4c4566 100644
--- a/include/driver/resistive_load.h
+++ b/include/driver/resistive_load.h
@@ -23,7 +23,15 @@ class ResistiveLoad {
void switchTo3K3(); // 3K25 (R2)
void switchTo10K(); // 9K86 (R4)
void switchTo47K(); // 46K3 (R3)
- void nop1K0(unsigned int duration_ms);
+
+ void switchTo2K2();
+ void switchTo4K7();
+ void switchTo680();
+
+ void switchTo2K();
+ void switchTo1K8();
+ void switchTo1K3();
+ void nop1K0(unsigned int duration_ms);
void nop2K4(unsigned int duration_ms);
void nop3K3(unsigned int duration_ms);
void nop10K(unsigned int duration_ms);
diff --git a/include/object/ptalog.h b/include/object/ptalog.h
index 6394474..6d5cf4d 100644
--- a/include/object/ptalog.h
+++ b/include/object/ptalog.h
@@ -148,7 +148,7 @@ class PTALog {
counter.start();
#endif
#ifndef PTALOG_GPIO_BEFORE
- gpio.write(sync_pin, 1);
+ gpio.write(sync_pin, 1);
#endif
}
#endif