i2c write works

This commit is contained in:
2018-01-03 23:57:56 +01:00
parent 9e7ae008b6
commit f917427be4
11 changed files with 271 additions and 66 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ struct PayloadParser_ {
// --- utilities ---
/** Get remaining length */
#define pp_length(pp) ((pp)->end - (pp)->current)
#define pp_length(pp) (uint32_t)((pp)->end - (pp)->current)
/** Reset the current pointer to start */
#define pp_rewind(pp) do { pp->current = pp->start; } while (0)