| OLD | NEW | 
|   1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file |   1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 
|   2 // for details. All rights reserved. Use of this source code is governed by a |   2 // for details. All rights reserved. Use of this source code is governed by a | 
|   3 // BSD-style license that can be found in the LICENSE.md file. |   3 // BSD-style license that can be found in the LICENSE.md file. | 
|   4  |   4  | 
|   5 #ifndef PLATFORMS_STM_DISCO_FLETCH_SRC_UART_H_ |   5 #ifndef PLATFORMS_STM_DISCO_FLETCH_SRC_UART_H_ | 
|   6 #define PLATFORMS_STM_DISCO_FLETCH_SRC_UART_H_ |   6 #define PLATFORMS_STM_DISCO_FLETCH_SRC_UART_H_ | 
|   7  |   7  | 
|   8 #include <inttypes.h> |   8 #include <inttypes.h> | 
|   9  |   9  | 
|  10 #include <cmsis_os.h> |  10 #include <cmsis_os.h> | 
|  11 #include <stm32f7xx_hal.h> |  11 #include <stm32f7xx_hal.h> | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  54   // Transmit status. |  54   // Transmit status. | 
|  55   fletch::Mutex* tx_mutex_; |  55   fletch::Mutex* tx_mutex_; | 
|  56   uint8_t tx_data_[kTxBlockSize];  // Buffer send to the HAL. |  56   uint8_t tx_data_[kTxBlockSize];  // Buffer send to the HAL. | 
|  57   bool tx_pending_; |  57   bool tx_pending_; | 
|  58   CircularBuffer* tx_buffer_; |  58   CircularBuffer* tx_buffer_; | 
|  59  |  59  | 
|  60   friend void __UartTask(const void*); |  60   friend void __UartTask(const void*); | 
|  61 }; |  61 }; | 
|  62  |  62  | 
|  63 #endif  // PLATFORMS_STM_DISCO_FLETCH_SRC_UART_H_ |  63 #endif  // PLATFORMS_STM_DISCO_FLETCH_SRC_UART_H_ | 
| OLD | NEW |