Skip to content

Commit fa81dea

Browse files
committed
fix
1 parent 057120d commit fa81dea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/pico/dummy.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ int main() {
2525
// pico_stdio_uart(); // do this in cmake right now
2626

2727
// wait for usb serial connection
28-
while (!tud_cdc_connected()) {
29-
sleep_ms(500);
30-
}
28+
// while (!tud_cdc_connected()) {
29+
// sleep_ms(500);
30+
// }
3131

3232
cyw43_arch_init();
3333

@@ -39,7 +39,7 @@ int main() {
3939
ServoPort ss;
4040
uint32_t baud2 = ss.open(UART1PINS,DD1_PIN);
4141

42-
mvpkt_t serv = AX12::makeMovePacket(1,140.0f);
42+
mvpkt_t serv = AX12::makeMovePacketDeg(1,140.0f);
4343
s.write(serv);
4444

4545
while (1) {

0 commit comments

Comments
 (0)