aboutsummaryrefslogtreecommitdiff
path: root/robot/sercomm.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-18 11:18:34 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-18 11:18:34 +0200
commit22f92030b316f98c5f8d3a54d0a937ab12fe148e (patch)
tree783fdde00ece25af3c067c3d4414bb2b1c341b0c /robot/sercomm.c
parent3f4b1c7284304d8c4ae2e4dd17359a2b4c1c573c (diff)
`make format`
Diffstat (limited to 'robot/sercomm.c')
-rw-r--r--robot/sercomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/sercomm.c b/robot/sercomm.c
index e845b1a..9c67aab 100644
--- a/robot/sercomm.c
+++ b/robot/sercomm.c
@@ -22,7 +22,7 @@ void w2_sercomm_main() {
simprint("line 1");
simprintf("bytes: %i\n", data->bytes);
- char* data_cast = malloc(data->bytes);
+ char *data_cast = malloc(data->bytes);
simprint("line 2");
memcpy(data_cast, data->data, data->bytes);
simprint("line 3");