Jan Breuer
2017-02-22 09bdc2f78dbaf5fc659cb9417b46b848a61aab7c
Merge pull request #84 from Yorkshire-Jack/master

Minor bugfixes for avr-gcc compiler detection and for USE_COMMAND_TAGS
2个文件已修改
9 ■■■■ 已修改文件
libscpi/inc/scpi/cc.h 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/inc/scpi/types.h 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
libscpi/inc/scpi/cc.h
@@ -116,6 +116,8 @@
#if defined(__AVR__)
#include <stdlib.h>
#define HAVE_DTOSTRE            1
#undef HAVE_STRTOF
#define HAVE_STRTOF                0
#endif
/* default values */
libscpi/inc/scpi/types.h
@@ -113,7 +113,12 @@
    typedef struct _scpi_command_t scpi_command_t;
#define SCPI_CMD_LIST_END       {NULL, NULL, 0}
#if USE_COMMAND_TAGS
    #define SCPI_CMD_LIST_END       {NULL, NULL, 0}
#else
    #define SCPI_CMD_LIST_END       {NULL, NULL}
#endif
    /* scpi interface */
    typedef struct _scpi_t scpi_t;