Added uBASIC-Plus program object example to STM32F4xx. (#967)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/************************************************************************
|
||||
*
|
||||
* Copyright (C) 2011 Steve Karg <skarg@users.sourceforge.net>
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*************************************************************************/
|
||||
/**
|
||||
* @file
|
||||
* @brief Main function for the STM32F4xx NUCLEO board
|
||||
* @author Steve Karg
|
||||
* @date 2021
|
||||
* @copyright SPDX-License-Identifier: MIT
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
@@ -102,7 +102,7 @@ int main(void)
|
||||
MSTP_Port.ZeroConfigEnabled = true;
|
||||
MSTP_Port.Zero_Config_Preferred_Station = 0;
|
||||
MSTP_Port.SlaveNodeEnabled = false;
|
||||
MSTP_Port.CheckAutoBaud = false;
|
||||
MSTP_Port.CheckAutoBaud = true;
|
||||
/* user data */
|
||||
MSTP_User_Data.RS485_Driver = &RS485_Driver;
|
||||
MSTP_Port.UserData = &MSTP_User_Data;
|
||||
|
||||
Reference in New Issue
Block a user