aboutsummaryrefslogtreecommitdiff
path: root/test/pbdrv
diff options
context:
space:
mode:
Diffstat (limited to 'test/pbdrv')
-rw-r--r--test/pbdrv/mod.c1
-rw-r--r--test/pbdrv/msg.cpp3
-rw-r--r--test/pbdrv/msg.h3
-rw-r--r--test/pbdrv/pb-route.c3
4 files changed, 3 insertions, 7 deletions
diff --git a/test/pbdrv/mod.c b/test/pbdrv/mod.c
index 5c4c95e..e4c2505 100644
--- a/test/pbdrv/mod.c
+++ b/test/pbdrv/mod.c
@@ -9,4 +9,3 @@ const i2c_addr_t PB_MOD_ADDR = 0x08;
void pb_i2c_send(i2c_addr_t addr, const uint8_t * buf, size_t sz) {
printf("[0x%02x]: buf[%lu]\n", addr & 0x7f, sz);
}
-
diff --git a/test/pbdrv/msg.cpp b/test/pbdrv/msg.cpp
index ca23bc7..3847b5f 100644
--- a/test/pbdrv/msg.cpp
+++ b/test/pbdrv/msg.cpp
@@ -1,8 +1,8 @@
#include <gtest/gtest.h>
+#include "pb-mod.h"
#include "pb-msg.h"
#include "pb-send.h"
-#include "pb-mod.h"
TEST(pb_msg_rw, cmd_req_read) {
pb_cmd_prop_t cmd = {
@@ -53,4 +53,3 @@ TEST(pb_msg_rw, cmd_req_magic) {
pb_msg_free(msg_read);
}
-
diff --git a/test/pbdrv/msg.h b/test/pbdrv/msg.h
index 52bee37..73c184e 100644
--- a/test/pbdrv/msg.h
+++ b/test/pbdrv/msg.h
@@ -26,7 +26,6 @@ static const pb_cmd_res_state_t expected_res_state = {
.state = PB_GS_IDLE,
};
-static const pb_cmd_req_set_state_t expected_req_set_state ={
+static const pb_cmd_req_set_state_t expected_req_set_state = {
.state = PB_GS_PLAYING,
};
-
diff --git a/test/pbdrv/pb-route.c b/test/pbdrv/pb-route.c
index 62a4b85..9e0fa30 100644
--- a/test/pbdrv/pb-route.c
+++ b/test/pbdrv/pb-route.c
@@ -1,2 +1 @@
-void pb_mod_blocking_delay_ms(unsigned long ms) { }
-
+void pb_mod_blocking_delay_ms(unsigned long ms) {}