Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
blueberrymuffin3 committed Oct 28, 2022
1 parent 5af5ada commit 568cf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i2c_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void poll_write_timeout(int fd, uint8_t addr, unsigned long timeout)
struct pollfd pfds[] = {
{STDIN_FILENO, POLLIN}};

char buffer[4096];
unsigned char buffer[4096];
unsigned long start = gettime_ms();

unsigned long time_left = timeout - (gettime_ms() - start);
Expand Down

0 comments on commit 568cf41

Please sign in to comment.