WindhoverLabs / juicer

5 stars 0 forks source link

Some Enums are not Parsed Correctly #17

Open lorenzo-gomez-windhover opened 3 years ago

lorenzo-gomez-windhover commented 3 years ago

Such as the following :

typedef enum
{
    PX4_MODE_SLOT_NONE                           = -1,
    PX4_MODE_SLOT_1                              =  0,
    PX4_MODE_SLOT_2                              =  1,
    PX4_MODE_SLOT_3                              =  2,
    PX4_MODE_SLOT_4                              =  3,
    PX4_MODE_SLOT_5                              =  4,
    PX4_MODE_SLOT_6                              =  5,
    PX4_MODE_SLOT_MAX                            =  6
}  PX4_ModeSlot_t;

I suspect this be because of either the typedef or the -1. Still investigating this issue.

lorenzo-gomez-windhover commented 2 years ago

Might need to update the schema of the database. Maybe...