• R/O
  • SSH
  • HTTPS

chibios: 提交


Commit MetaInfo

修订版9959 (tree)
时间2016-12-13 17:47:59
作者gdisirio

Log Message

Fixed bug #797.

更改概述

差异

--- branches/stable_2.6.x/os/various/shell.c (revision 9958)
+++ branches/stable_2.6.x/os/various/shell.c (revision 9959)
@@ -109,7 +109,7 @@
109109 /**
110110 * @brief Array of the default commands.
111111 */
112-static ShellCommand local_commands[] = {
112+static const ShellCommand local_commands[] = {
113113 {"info", cmd_info},
114114 {"systime", cmd_systime},
115115 {NULL, NULL}
--- branches/stable_2.6.x/readme.txt (revision 9958)
+++ branches/stable_2.6.x/readme.txt (revision 9959)
@@ -72,6 +72,7 @@
7272 *****************************************************************************
7373
7474 *** 2.6.10 ***
75+- FIX: Fixed missing const qualifier in local shell commands array (bug #797).
7576 - FIX: Fixed double empty lines in HAL (bug #794).
7677 - FIX: Fixed STM32F105 port not compiling. (bug #782).
7778 - FIX: Fixed wrong HSE checks and PLL2 enable switch in STM32F105 and
Show on old repository browser