Skip to content

Commit 88634a9

Browse files
committed
Code formatting and linting
1 parent ac22e02 commit 88634a9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

firmware/chipignite/current/src/current.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ void configure_io() {
8888

8989
// Initiate the serial transfer to configure IO
9090
reg_mprj_xfer = 1;
91-
while (reg_mprj_xfer == 1)
92-
;
91+
while (reg_mprj_xfer == 1);
9392
}
9493

9594
/** @brief Delay in microseconds

firmware/chipignite/polysat/src/polysat.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ void main() {
166166
}
167167
pulse = !pulse;
168168

169+
// Send a heartbeat packet to the host
170+
slip_send_heartbeat(uart_write);
171+
169172
// For every non-zero element in the array, set back to zero and send a packet to the host
170173
for (uint32_t i = 0; i < (uint32_t)(sizeof(zero_array) / sizeof(*zero_array)); i++) {
171174
if (zero_array[i] != 0) {

0 commit comments

Comments
 (0)