Consolodated the datalink environment variable for building demos on Linux and Windows into a single module (dlenv). Adjusted most demo makefiles.

This commit is contained in:
skarg
2009-05-22 01:45:38 +00:00
parent 1b78d33ddc
commit 7916c7a6de
41 changed files with 316 additions and 943 deletions
-2
View File
@@ -116,8 +116,6 @@ static void RS485_Print_Error(
void)
{
LPVOID lpMsgBuf;
DWORD dwExtSize;
DWORD dwErr;
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), /* Default language */
(LPTSTR) & lpMsgBuf, 0, NULL);