Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Firmware/Hub-Mega2560/Hub-Mega2560.ino
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ typedef struct packet {
packet_t* packetHead = NULL;
unsigned char packetID = 0;

void pushPacket(unsigned char cmd, signed char slot) {
void pushPacket(unsigned char cmd, unsigned char slot) {
// Create new packet
packet_t* packet = malloc(sizeof(packet_t));
packet->next = NULL;
Expand Down Expand Up @@ -202,7 +202,7 @@ void pushPacket(unsigned char cmd, signed char slot) {
#endif
}

packet_t *getPacket(unsigned char cmd, signed char slot) {
packet_t *getPacket(unsigned char cmd, unsigned char slot) {
// Find packet with matching cmd/slot
packet_t *packet = packetHead;
while (packet) {
Expand Down