summaryrefslogtreecommitdiffstats
path: root/linux.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-12-14 18:19:48 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-12-14 18:19:48 -0800
commitb0759feef87fcf820682cb36d65f2252c2cc12ae (patch)
tree4767b4ac0f5222c1500cb1f0826b94e87fd4b6b0 /linux.c
parentdf12fcf310d97ba7244755c687c6119da17928e2 (diff)
parent6245b700a4a98cc2dba8c5b8c3f4958491605755 (diff)
downloadsubsurface-b0759feef87fcf820682cb36d65f2252c2cc12ae.tar.gz
Merge branch 'forlinus' of git://git.hohndel.org/subsurface
* 'forlinus' of git://git.hohndel.org/subsurface: Improve Makefile for MacOS Add reasonable default device names for divecomputer import More intuitive label for "not saving" when exiting
Diffstat (limited to 'linux.c')
-rw-r--r--linux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux.c b/linux.c
index 2edcf85a1..e26b3acbd 100644
--- a/linux.c
+++ b/linux.c
@@ -46,3 +46,8 @@ void subsurface_close_conf(void)
{
/* this is a no-op */
}
+
+const char *subsurface_USB_name()
+{
+ return("/dev/ttyUSB0");
+}