summaryrefslogtreecommitdiff
path: root/altoslib/AltosSpeed.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-02-10 00:32:26 -0800
committerKeith Packard <keithp@keithp.com>2013-02-10 00:32:26 -0800
commita5fb03421751b342dcd450caee49a608d8828175 (patch)
treeeadcb391011a862ab793a544d92f65ffa324eaff /altoslib/AltosSpeed.java
parent2efd3ad80d4fefa8ccc1b80a2e657dbf9ba0c60f (diff)
altoslib: Fix a couple of unit functions to make them public
Nice to be able to use these outside of altoslib Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosSpeed.java')
-rw-r--r--altoslib/AltosSpeed.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosSpeed.java b/altoslib/AltosSpeed.java
index 020c1377..6fb624fb 100644
--- a/altoslib/AltosSpeed.java
+++ b/altoslib/AltosSpeed.java
@@ -37,7 +37,7 @@ public class AltosSpeed extends AltosUnits {
return "meters per second";
}
- int show_fraction(int width) {
+ public int show_fraction(int width) {
return width / 9;
}
} \ No newline at end of file