uint8_t array fill zero (avr-gcc)

Sysprogs forums Forums VisualGDB uint8_t array fill zero (avr-gcc)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36540
    Serjaru
    Participant

    int main()
    {
    char ddd[] = { 0x32, 0x32 };
    uint8_t sqi[] = { 0x7E, 0x02, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x05, 0x05, 0x00, 0x01, 0x00, 0x00, 0xB1, 0x0A };

     

    Array “ddd” fill correct

    but

    array “sqi” fill by zeros (0x00………)

     

    Why????

    #36541
    support
    Keymaster

    Sorry, this doesn’t look like a VisualGDB-specific issue. Please refer to the GCC documentation for more details.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.