8 Replies Latest reply on Jul 8, 2015 8:23 PM by user_342122993

    Mixing Uint8 and int16 in Struct

    user_13484954

      I have a USB report structure:

         

      Uint8 Buttons

         

      int16 Xaxis

         

      int16 Y axis

         

       

         

      But the compiler assigns 2 bytes for the Unit8 instead of one so the USB packet is incorrect. Is this expected?