Fix and test workflow
This commit is contained in:
parent
c94e0d53bb
commit
09b852d8f0
|
@ -442,7 +442,7 @@ void SystemTask::Work() {
|
||||||
displayApp.PushMessage(Pinetime::Applications::Display::Messages::ShowPairingKey);
|
displayApp.PushMessage(Pinetime::Applications::Display::Messages::ShowPairingKey);
|
||||||
break;
|
break;
|
||||||
case Messages::BleRadioEnableToggle:
|
case Messages::BleRadioEnableToggle:
|
||||||
if(settingsController.GetBleRadioEnabled()) {
|
if (settingsController.GetBleRadioEnabled()) {
|
||||||
nimbleController.EnableRadio();
|
nimbleController.EnableRadio();
|
||||||
} else {
|
} else {
|
||||||
nimbleController.DisableRadio();
|
nimbleController.DisableRadio();
|
||||||
|
|
|
@ -17,7 +17,7 @@ do
|
||||||
*.cpp|*.h)
|
*.cpp|*.h)
|
||||||
echo Checking "$file"
|
echo Checking "$file"
|
||||||
clang-format -i "$file"
|
clang-format -i "$file"
|
||||||
if ! git diff --quiet "$basebranch"...HEAD
|
if ! git diff --quiet
|
||||||
then
|
then
|
||||||
printf "\033[31mError:\033[0m Formatting error in %s\n" "$file"
|
printf "\033[31mError:\033[0m Formatting error in %s\n" "$file"
|
||||||
CHANGED=1
|
CHANGED=1
|
||||||
|
|
Loading…
Reference in a new issue