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
@@ -6,7 +6,7 @@
#include "unit.h"
#include "resources.h"
char unit_tmp64[64];
char unit_tmp512[512];
// Abort partly inited unit
void clean_failed_unit(Unit *unit)
+2 -1
View File
@@ -11,7 +11,8 @@
#include "utils/payload_builder.h"
#include "utils/payload_parser.h"
extern char unit_tmp64[64]; // temporary static buffer
extern char unit_tmp512[512]; // temporary static buffer - not expected to be accessed asynchronously
// TODO add mutex?
typedef struct unit Unit;
typedef struct unit_driver UnitDriver;