summaryrefslogtreecommitdiffstats
path: root/src/console.c
diff options
context:
space:
mode:
authorpancake <pancake@pluna>2008-01-14 11:25:08 +0100
committerpancake <pancake@pluna>2008-01-14 11:25:08 +0100
commit288cad1c2e401e5dfbd029b95f62ca05c85d3d61 (patch)
treeac2652d1998dc9e641d49e367b3a853b2728b6c8 /src/console.c
parent4115aab13d70bbe8300562bcd789cc5bc27c8ded (diff)
download0xFFFF-288cad1c2e401e5dfbd029b95f62ca05c85d3d61.tar.bz2
* Up to 0.3.2
* Add HAVE_USB to config.mk - Now is possible to build a usb-less version of the flasher (only for unpacking and so, offline operations) * Refactor varname. Avoid portability problems: - reboot -> moboreboot
Diffstat (limited to 'src/console.c')
-rw-r--r--src/console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/console.c b/src/console.c
index 3aa406c..d03343c 100644
--- a/src/console.c
+++ b/src/console.c
@@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#if HAVE_USB
#include "main.h"
#include "query.h"
#include <stdio.h>
@@ -164,3 +165,4 @@ int console_prompt()
return 0;
}
+#endif