FreeRTOS / FreeRTOS-Cellular-Interface

FreeRTOS Cellular Interface implementation of the 3GPP TS v27.007 standard.
MIT License
85 stars 59 forks source link

'uint8_t' does not name a type #50

Closed matsujirushi closed 3 years ago

matsujirushi commented 3 years ago

Hi, I got these errors when my code include cellular library headers only.

Incude:

#include <cellular_config.h>
#include <cellular_config_defaults.h>
#include <cellular_comm_interface.h>

Error:

../Lib/FreeRTOS-Cellular-Interface/source/include/cellular_types.h:416:5: error: 'uint8_t' does not name a type

I think it would be better to include stdint.h here. https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface/blob/main/source/include/cellular_types.h#L39

chinglee-iot commented 3 years ago

Thank you for the feedback. I will fix this ASAP.

chinglee-iot commented 3 years ago

The issue is fixed in this PR. Once it is merged I will close this issue. https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface/pull/53