mirror of https://github.com/ARMmbed/mbed-os.git
moving static at the start to resolve warning:'static' is not at beginning of declaration [-Wold-style-declaration]
parent
818f82c5bd
commit
9c9586a388
|
|
@ -402,7 +402,7 @@ static void (*callFlashCommonBitOperation)(FTFx_REG32_ACCESS_TYPE base,
|
|||
* @endcode
|
||||
* Note2: The binary code is generated by IAR 7.70.1
|
||||
*/
|
||||
const static uint16_t s_flashRunCommandFunctionCode[] = {
|
||||
static const uint16_t s_flashRunCommandFunctionCode[] = {
|
||||
0x2180, /* MOVS R1, #128 ; 0x80 */
|
||||
0x7001, /* STRB R1, [R0] */
|
||||
/* @4: */
|
||||
|
|
@ -432,7 +432,7 @@ const static uint16_t s_flashRunCommandFunctionCode[] = {
|
|||
* @endcode
|
||||
* Note2: The binary code is generated by IAR 7.70.1
|
||||
*/
|
||||
const static uint16_t s_flashCommonBitOperationFunctionCode[] = {
|
||||
static const uint16_t s_flashCommonBitOperationFunctionCode[] = {
|
||||
0xb510, /* PUSH {R4, LR} */
|
||||
0x2900, /* CMP R1, #0 */
|
||||
0xd005, /* BEQ.N @12 */
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ static void (*callFlashCommonBitOperation)(FTFx_REG32_ACCESS_TYPE base,
|
|||
* @endcode
|
||||
* Note2: The binary code is generated by IAR 7.70.1
|
||||
*/
|
||||
const static uint16_t s_flashRunCommandFunctionCode[] = {
|
||||
static const uint16_t s_flashRunCommandFunctionCode[] = {
|
||||
0x2180, /* MOVS R1, #128 ; 0x80 */
|
||||
0x7001, /* STRB R1, [R0] */
|
||||
/* @4: */
|
||||
|
|
@ -432,7 +432,7 @@ const static uint16_t s_flashRunCommandFunctionCode[] = {
|
|||
* @endcode
|
||||
* Note2: The binary code is generated by IAR 7.70.1
|
||||
*/
|
||||
const static uint16_t s_flashCommonBitOperationFunctionCode[] = {
|
||||
static const uint16_t s_flashCommonBitOperationFunctionCode[] = {
|
||||
0xb510, /* PUSH {R4, LR} */
|
||||
0x2900, /* CMP R1, #0 */
|
||||
0xd005, /* BEQ.N @12 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue