Subdirectory provided by Embedded Artists

Dependencies:   DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos mbed-src

Dependents:   lpc4088_displaymodule_hello_world_Sept_2018

Fork of DMSupport by Embedded Artists

Revision:
29:b1ec19000e15
Parent:
28:8ae20cb0b943
Child:
31:d47cffcb0a3e
--- a/Bios/BiosLoader.cpp	Fri Jan 23 17:31:56 2015 +0100
+++ b/Bios/BiosLoader.cpp	Mon Jan 26 10:12:57 2015 +0100
@@ -225,7 +225,7 @@
       uint8_t* p = NULL;
       uint32_t size = 0;
       err = readBIOS(&p, &size);
-      if (err != BiosError_Ok) {
+      if (err != DMBoard::Ok) {
         break;
       }
       
@@ -257,7 +257,7 @@
       // 2) The header size (the code/data comes after it)
       uint32_t offset = ((uint32_t)p) + file_header->headerSize;
       uint32_t* functions = (uint32_t*)&_bios;
-      for (int i = 0; i < (sizeof(bios_header_t)/sizeof(uint32_t)); i++) {
+      for (uint32_t i = 0; i < (sizeof(bios_header_t)/sizeof(uint32_t)); i++) {
         functions[i] += offset;
       }