HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3460e
)
ConfigValue: remove redundant as_pin and as_pwm methods
origin/feature/static-Pins
author
Michael Moon
<triffid.hunter@gmail.com>
Sun, 10 Feb 2013 01:20:59 +0000
(12:20 +1100)
committer
Michael Moon
<triffid.hunter@gmail.com>
Sun, 10 Feb 2013 01:20:59 +0000
(12:20 +1100)
src/libs/ConfigValue.h
patch
|
blob
|
blame
|
history
diff --git
a/src/libs/ConfigValue.h
b/src/libs/ConfigValue.h
index
477eea2
..
df9fa47
100644
(file)
--- a/
src/libs/ConfigValue.h
+++ b/
src/libs/ConfigValue.h
@@
-85,18
+85,6
@@
class ConfigValue{
}
}
- Pin* as_pin(){
- Pin* pin = new Pin();
- pin->from_string(this->as_string());
- return pin;
- }
-
- Pwm* as_pwm(){
- Pwm* pwm = new Pwm();
- pwm->from_string(this->as_string());
- return pwm;
- }
-
ConfigValue* by_default(int val)
{
this->default_set = true;