diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-22 12:48:37 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-22 12:48:37 -0400 |
commit | 40ca3ece6b6f8b430bb32751ae1c1421142b9bc1 (patch) | |
tree | 0951684d5006916c4240caec89823b1bd589df25 /libmaple/usb/usb_lib/usb_lib.h | |
parent | 05acd08a66542888dfb0034abdeed5cd31d5664c (diff) | |
download | librambutan-40ca3ece6b6f8b430bb32751ae1c1421142b9bc1.tar.gz librambutan-40ca3ece6b6f8b430bb32751ae1c1421142b9bc1.zip |
reset.py: Not every Unix is Linux.
Move the sysfs tests for Maple out of unix_get_maple_path() and into a
new linux_get_maple_path(). This prevents unnecessary probing for a
nonexistent /sys on e.g. OS X.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/usb/usb_lib/usb_lib.h')
0 files changed, 0 insertions, 0 deletions