added display messages
This commit is contained in:
16
Application/Tasks/DisplayComm.c
Normal file
16
Application/Tasks/DisplayComm.c
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
#include "main.h"
|
||||
#include "UsbDataHandler.h"
|
||||
#include "stdint.h"
|
||||
#include "mlzr_comm.h"
|
||||
#include "pb_decode.h"
|
||||
#include "display.pb.h"
|
||||
|
||||
static cls_display_SetLayout msg_cls_display_SetLayout;
|
||||
|
||||
|
||||
void DataClbk_cls_display_SetLayout(void* msg, uint32_t length) {
|
||||
DATA_CLBK_SETUP(cls_display_SetLayout);
|
||||
uint8_t num = (uint8_t)msg_cls_display_SetLayout.layout;
|
||||
TF_SendSimple(tf_fallback,0x0F, &num, sizeof(num));
|
||||
}
|
||||
Reference in New Issue
Block a user