Error in mikro c for pic, To many initializers

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
kumar123
Posts: 68
Joined: 17 Oct 2023 07:32

Error in mikro c for pic, To many initializers

#1 Post by kumar123 » 05 Dec 2023 06:28

Hi,
I am getting To many initializers error I tried to fix, but I could not do this.
ImageImage
to.png
to.png (180.06 KiB) Viewed 204 times
Attachments
Too.png
Too.png (172.87 KiB) Viewed 202 times

User avatar
Tanja_Kovacevic
mikroElektronika team
Posts: 98
Joined: 09 Aug 2021 11:39

Re: Error in mikro c for pic, To many initializers

#2 Post by Tanja_Kovacevic » 07 Dec 2023 12:40

Hi Kumar,

It looks like you have used those structs from our Libraries.
But when I did the same thing in your SMC project it worked at my place.
I have made a header file and copied the same code.

Img1.jpg
Img1.jpg (304.36 KiB) Viewed 166 times

Kind regards,
Tanja
Attachments
SMC.zip
(63.51 KiB) Downloaded 11 times

Post Reply

Return to “mikroC PRO for PIC General”