123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #ifndef WRITEFIRMWARE_SOURCE
- #define WRITEFIRMWARE_SOURCE
- #include "../plc/plc.h"
- signed WriteFirmware (struct plc * plc, unsigned module, void const * nvm_header)
- {
- return ((LE32TOH (*(uint32_t *)(nvm_header)) == 0x60000000)? WriteFirmware1 (plc, module, nvm_header): WriteFirmware2 (plc, module, nvm_header));
- }
- #endif
|