added display messages
This commit is contained in:
@@ -156,8 +156,13 @@ void DataClbk_cls_firmware_Done(void *msg, uint32_t length) {
|
||||
|
||||
if(msg_cls_firmware_Done.device_id == gCLS_DEVICE_ADDRESS) {
|
||||
RamLoader_LoadApplication();
|
||||
} else {
|
||||
} else if (msg_cls_firmware_Done.device_id == gCLS_DEVICE_ADDRESS +1) {
|
||||
// send fw to display
|
||||
// todo !
|
||||
|
||||
} {
|
||||
|
||||
// send fw to slave
|
||||
FirmwareUpdateArgs args;
|
||||
args.device = msg_cls_firmware_Done.device_id;
|
||||
memcpy(args.name, msg_cls_firmware_Start.name, sizeof(args.name));
|
||||
|
||||
Reference in New Issue
Block a user