Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Revision 574:e6ed7264c56c, committed 2015-06-17
- Comitter:
- mbed_official
- Date:
- Wed Jun 17 08:15:08 2015 +0100
- Parent:
- 573:18c5cf67e74d
- Child:
- 575:1f7ee966c9ea
- Commit message:
- Synchronized with git revision a57d6f3d1d0446439d04220c04a225e4cd13fafb
Full URL: https://github.com/mbedmicro/mbed/commit/a57d6f3d1d0446439d04220c04a225e4cd13fafb/
Nordic - Fix GCC compilation warnings
Changed in this revision
--- a/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf_delay.h Tue Jun 16 07:45:08 2015 +0100
+++ b/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf_delay.h Wed Jun 17 08:15:08 2015 +0100
@@ -45,7 +45,7 @@
" BNE loop\n\t");
}
#elif defined ( __GNUC__ )
-static void __INLINE nrf_delay_us(uint32_t volatile number_of_us)
+__INLINE static void nrf_delay_us(uint32_t volatile number_of_us)
{
do
{
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c Tue Jun 16 07:45:08 2015 +0100
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c Wed Jun 17 08:15:08 2015 +0100
@@ -29,7 +29,7 @@
static uint32_t serial_irq_ids[UART_NUM] = {0};
static uart_irq_handler irq_handler;
-static uint32_t acceptedSpeeds[17][2] = {{1200, UART_BAUDRATE_BAUDRATE_Baud1200},
+static int acceptedSpeeds[17][2] = {{1200, UART_BAUDRATE_BAUDRATE_Baud1200},
{2400, UART_BAUDRATE_BAUDRATE_Baud2400},
{4800, UART_BAUDRATE_BAUDRATE_Baud4800},
{9600, UART_BAUDRATE_BAUDRATE_Baud9600},
