From 7440843d3a1e108fdf78b8cfff073aa60a2a41f7 Mon Sep 17 00:00:00 2001 From: guanjiao ren <guanjiao.ren@ninebot.com> Date: 星期五, 18 五月 2018 15:22:35 +0800 Subject: [PATCH] spi与dw_driver重写 --- 源码/核心板/Src/platform/port.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/platform/port.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/platform/port.h" index 7572a50..65d24cc 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/platform/port.h" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/platform/port.h" @@ -27,9 +27,9 @@ #define CLOCKS_PER_SEC 1000 void printf2(const char *format, ...); - -void USART_puts(uint8_t *s,uint8_t len); - + +void USART_puts(uint8_t *s, uint8_t len); + extern int writetospi_serial(uint16_t headerLength, const uint8_t *headerBuffer, uint32_t bodylength, @@ -184,7 +184,7 @@ #define gpio_reset(x) 0 #define is_gpio_out_low(x) 0 #define is_gpio_out_high(x) 0 - + /*! ------------------------------------------------------------------------------------------------------------------ * @fn peripherals_init() * -- Gitblit v1.9.3