Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix incomplete StandaloneProgrammer project code not compiling due to…

… the recent API changes in the LUFA core.

git-svn-id: http://lufa-lib.googlecode.com/svn@1527 d5102386-fcda-11dd-9fdb-3debd5008f28
  • Loading branch information...
commit b8468b658b432851df8dd3e51ab9bde23981b9a2 1 parent bb15c34
Dean authored
2  trunk/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c
@@ -34,7 +34,7 @@ DRESULT disk_readp (
34 34 DRESULT ErrorCode = RES_OK;
35 35 uint8_t BlockTemp[512];
36 36
37   - if (USB_CurrentMode == USB_MODE_HOST)
  37 + if (USB_CurrentMode == USB_MODE_Host)
38 38 {
39 39 #if defined(USB_CAN_BE_HOST)
40 40 if (USB_HostState != HOST_STATE_Configured)
4 trunk/Projects/Incomplete/StandaloneProgrammer/StandaloneProgrammer.c
@@ -84,7 +84,7 @@ void Programmer_Task(void)
84 84 puts("==== PROGRAMMING CYCLE STARTED ====\r\n");
85 85
86 86 #if defined(USB_CAN_BE_BOTH)
87   - printf("Using %s Drive...\r\n", (USB_CurrentMode == USB_MODE_HOST) ? "External" : "Internal");
  87 + printf("Using %s Drive...\r\n", (USB_CurrentMode == USB_MODE_Host) ? "External" : "Internal");
88 88 #endif
89 89
90 90 puts("Reading Configuration File...\r\n");
@@ -114,7 +114,7 @@ int main(void)
114 114 {
115 115 Programmer_Task();
116 116
117   - if (USB_CurrentMode == USB_MODE_HOST)
  117 + if (USB_CurrentMode == USB_MODE_Host)
118 118 {
119 119 #if defined(USB_CAN_BE_HOST)
120 120 DiskHost_USBTask();

0 comments on commit b8468b6

Please sign in to comment.
Something went wrong with that request. Please try again.