mirror of https://github.com/ARMmbed/mbed-os.git
Fixed and suppressed compiler warnings.
parent
809d8aa82b
commit
77d3559f88
|
@ -45,6 +45,10 @@
|
||||||
* the pointers to the "function" data members.
|
* the pointers to the "function" data members.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef TOOLCHAIN_ARM_STD
|
||||||
|
#pragma diag_suppress 1296
|
||||||
|
#endif
|
||||||
|
|
||||||
/************I2C***************/
|
/************I2C***************/
|
||||||
const PinMap PinMap_I2C_SDA[] = {
|
const PinMap PinMap_I2C_SDA[] = {
|
||||||
{ P2_4, I2C_0, (int)&((pin_function_t){&MXC_IOMAN->i2cm0_req, &MXC_IOMAN->i2cm0_ack, ((uint32_t)MXC_E_IOMAN_MAPPING_A | MXC_F_IOMAN_I2CM_CORE_IO), (MXC_F_IOMAN_I2CM_MAPPING | MXC_F_IOMAN_I2CM_CORE_IO)}) },
|
{ P2_4, I2C_0, (int)&((pin_function_t){&MXC_IOMAN->i2cm0_req, &MXC_IOMAN->i2cm0_ack, ((uint32_t)MXC_E_IOMAN_MAPPING_A | MXC_F_IOMAN_I2CM_CORE_IO), (MXC_F_IOMAN_I2CM_MAPPING | MXC_F_IOMAN_I2CM_CORE_IO)}) },
|
||||||
|
|
|
@ -45,6 +45,10 @@
|
||||||
* the pointers to the "function" data members.
|
* the pointers to the "function" data members.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef TOOLCHAIN_ARM_STD
|
||||||
|
#pragma diag_suppress 1296
|
||||||
|
#endif
|
||||||
|
|
||||||
/************I2C***************/
|
/************I2C***************/
|
||||||
const PinMap PinMap_I2C_SDA[] = {
|
const PinMap PinMap_I2C_SDA[] = {
|
||||||
{ P0_4, I2C_0, (int)&((pin_function_t){&MXC_IOMAN->i2cm0_req, &MXC_IOMAN->i2cm0_ack, ((uint32_t)MXC_E_IOMAN_MAPPING_D | MXC_F_IOMAN_I2CM_CORE_IO), (MXC_F_IOMAN_I2CM_MAPPING | MXC_F_IOMAN_I2CM_CORE_IO)}) },
|
{ P0_4, I2C_0, (int)&((pin_function_t){&MXC_IOMAN->i2cm0_req, &MXC_IOMAN->i2cm0_ack, ((uint32_t)MXC_E_IOMAN_MAPPING_D | MXC_F_IOMAN_I2CM_CORE_IO), (MXC_F_IOMAN_I2CM_MAPPING | MXC_F_IOMAN_I2CM_CORE_IO)}) },
|
||||||
|
|
Loading…
Reference in New Issue