fix example

This commit is contained in:
Vinzenz Schroeter 2024-09-07 14:53:16 +02:00
parent c712b037d0
commit 3e3a933ecb
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ int main(void) {
SPCommand *command = sp_command_bitmap_linear_win(0, 0, pixels, Uncompressed);
while (sp_connection_send_command(connection, sp_command_clone(command)));
sp_packet_free(packet);
sp_command_free(command);
sp_connection_free(connection);
return 0;
}

View file

@ -19,7 +19,7 @@
//! SPCommand *command = sp_command_bitmap_linear_win(0, 0, pixels, Uncompressed);
//! while (sp_connection_send_command(connection, sp_command_clone(command)));
//!
//! sp_packet_free(packet);
//! sp_command_free(command);
//! sp_connection_free(connection);
//! return 0;
//! }