Mercurial > hg > beaglert
comparison projects/d-box/main.cpp @ 68:59edd5780fef
Changed d-box code to run cleanly when built on board. Updated Makefile to add ne10 include path on board. Some extra docs in Utilities.h
author | andrewm |
---|---|
date | Fri, 17 Jul 2015 16:57:08 +0100 |
parents | 3c3a1357657d |
children |
comparison
equal
deleted
inserted
replaced
67:472e892c6e41 | 68:59edd5780fef |
---|---|
74 int sensorType = 0; | 74 int sensorType = 0; |
75 | 75 |
76 char sdPath[256] = "/dev/mmcblk0p2"; // system path of the SD, partition 2 | 76 char sdPath[256] = "/dev/mmcblk0p2"; // system path of the SD, partition 2 |
77 char mountPath[256] = "/root/d-box/usersounds"; // mount point of SD partition 2 [where user files are] | 77 char mountPath[256] = "/root/d-box/usersounds"; // mount point of SD partition 2 [where user files are] |
78 char gUserDirName[256] = "usersounds"; // Directory in which user analysis files can be found [dir of mountPath] | 78 char gUserDirName[256] = "usersounds"; // Directory in which user analysis files can be found [dir of mountPath] |
79 char gDefaultDirName[256] = "sounds"; // Directory in which built in analysis files can be found | 79 char gDefaultDirName[256] = "/root/d-box/sounds"; // Directory in which built in analysis files can be found |
80 char *gDirName; | 80 char *gDirName; |
81 bool gIsLoading = false; | 81 bool gIsLoading = false; |
82 int fileCnt = 0; | 82 int fileCnt = 0; |
83 std::vector <std::string> files; | 83 std::vector <std::string> files; |
84 | 84 |