File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ uint32_t tud_vendor_n_write_flush (uint8_t itf);
52
52
uint32_t tud_vendor_n_write_available (uint8_t itf );
53
53
54
54
static inline uint32_t tud_vendor_n_write_str (uint8_t itf , char const * str );
55
- uint32_t tud_vendor_n_flush (uint8_t itf );
55
+
56
+ // backward compatible
57
+ #define tud_vendor_n_flush (itf ) tud_vendor_n_write_flush(itf)
56
58
57
59
//--------------------------------------------------------------------+
58
60
// Application API (Single Port)
@@ -67,6 +69,9 @@ static inline uint32_t tud_vendor_write_str (char const* str);
67
69
static inline uint32_t tud_vendor_write_available (void );
68
70
static inline uint32_t tud_vendor_write_flush (void );
69
71
72
+ // backward compatible
73
+ #define tud_vendor_flush () tud_vendor_write_flush()
74
+
70
75
//--------------------------------------------------------------------+
71
76
// Application Callback API (weak is optional)
72
77
//--------------------------------------------------------------------+
You can’t perform that action at this time.
0 commit comments