добавлены еще пару файлов для py32f001a,но теперь на нем перерасход оперативки, надо ужать
This commit is contained in:
@@ -81,7 +81,6 @@ EXAMPLE: INIT SLAVE RECEIVE
|
||||
*************************************************************************/
|
||||
|
||||
#include "rs_message.h"
|
||||
uint32_t dbg_temp, dbg_temp2, dbg_temp3; // for debug
|
||||
/* MODBUS HANDLES */
|
||||
#ifdef INCLUDE_GENERAL_PERIPH_LIBS
|
||||
UART_SettingsTypeDef modbus1_suart;
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "modbus.h"
|
||||
|
||||
#include "crc_algs.h"
|
||||
#include "string.h"
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
@@ -44,7 +43,7 @@
|
||||
|
||||
|
||||
/* Clear message-uart buffer */
|
||||
#define RS_Clear_Buff(_buff_) memset(_buff_, 0, MSG_SIZE_MAX)
|
||||
#define RS_Clear_Buff(_buff_) for(int i=0; i<MSG_SIZE_MAX;i++) _buff_[i] = NULL
|
||||
|
||||
/* Set/Reset flags */
|
||||
#define RS_Set_Free(_hRS_) _hRS_->f.RS_Busy = 0
|
||||
|
||||
Reference in New Issue
Block a user