Skip to content

Commit

Permalink
Bugfix servo & hardwareSerial
Browse files Browse the repository at this point in the history
  • Loading branch information
hreintke committed Mar 27, 2016
1 parent 8d47258 commit ae56123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sming/libraries/Servo/Servo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void Servo::getPins()
for (uint8 i=0;i<channels.size();i++) {
ServoChannel *ch = channels.get(i);
if (ch != null) {
pins[i++] = ch->getPin();
pins[i] = ch->getPin();
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion sming/sming/core/HardwareSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ HardwareSerial::HardwareSerial(const int reqUart)
}
if (!serialDelegateTask)
{
xTaskCreate( DelegateTask, (const signed char*)"DelegateTask", 256, NULL, tskIDLE_PRIORITY, &serialDelegateTask);
xTaskCreate( DelegateTask, (const signed char*)"DelegateTask", 512, NULL, tskIDLE_PRIORITY, &serialDelegateTask);
if (!serialDelegateTask)
{
debugf("HardwareSerial uart %d, serialTask creation failed ",reqUart);
Expand Down

0 comments on commit ae56123

Please sign in to comment.