diff --git a/example/src/brightness_tester.c b/example/src/brightness_tester.c index 9476422..21d814d 100644 --- a/example/src/brightness_tester.c +++ b/example/src/brightness_tester.c @@ -7,7 +7,7 @@ void enable_all_pixels(void) { sp_bitmap_fill(all_on, true); BitmapCommand *bitmapCommand = sp_cmd_bitmap_from_bitmap(all_on); - Packet *packet = sp_cmd_bitmap_into_packet(bitmapCommand); + Packet *packet = sp_cmd_bitmap_try_into_packet(bitmapCommand); if (packet != NULL) sp_udp_send_packet(connection, packet); }