Skip to content

Commit 389ceb5

Browse files
committed
Code formatting and linting
1 parent 2a03c87 commit 389ceb5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

firmware/chipignite/polysat/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARCH=rv32i_zicsr
99
SRCDIR = src
1010
INCDIR = include
1111
SOURCES = $(wildcard $(SRCDIR)/*.c)
12-
PROJECT = project
12+
PROJECT = polysat
1313

1414
# ---- Test patterns for project raven ----
1515

firmware/chipignite/polysat/src/slip.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ void slip_send_packet(const uint8_t* data, uint16_t data_len, uint8_t cmd, void
6565
* @param send_byte A function to send a byte to the output stream.
6666
*/
6767
void slip_send_heartbeat(void (*send_byte)(uint8_t)) {
68-
slip_send_packet(NULL, 0, SLIP_CMD_HEARTBEAT, send_byte);
68+
uint8_t dummy = 0;
69+
slip_send_packet(&dummy, 0, SLIP_CMD_HEARTBEAT, send_byte);
6970
}
7071

7172
/** @brief Compute a CRC-16/CCITT-FALSE checksum

0 commit comments

Comments
 (0)