• Sizeof operator gives wrong output with printf for some data types
    Hi! I am using sizeof operator in my c code. I have been through the thread "C51: INCORRECT OPERATION OF PRINTF AND SIZEOF".I tried the same.But it shows size of 'short int' as well as 'int' as 2...
  • Sizeof operator gives wrong output with printf for some data types
    Hi! I am using sizeof operator in my c code. I have been through the thread "C51: INCORRECT OPERATION OF PRINTF AND SIZEOF".I tried the same.But it shows size of 'short int' as well as 'int' as 2...
  • The "sizeof operator with string" bug when use command line in "output window"
    I do not speak english,so i try to show my meaning When you use command line in debug mode, sizeof("a") //value is 1 sizeof('a') //value is 2 would got wrong value. seems been upended. ...
  • The "sizeof operator with string" bug when use command line in "output window"
    I do not speak english,so i try to show my meaning When you use command line in debug mode, sizeof("a") //value is 1 sizeof('a') //value is 2 would got wrong value. seems been upended. ...
  • Unexpected return code from os_mbx_send
    I am using : µVision V4.22.22.0 Toolchain: MDK-ARM Standard Version: 4.22a This code is causing my problem: U8 res = os_mbx_send (CB_XMIT_MAILBOX, packetInfo, 0xFFFF); if(OS_R_OK != res) ...