File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -778,7 +778,7 @@ void switchAlarm(char dir){
778
778
}
779
779
}
780
780
781
- void getHz (byte note){
781
+ word getHz (byte note){
782
782
// Given a piano key note, return frequency
783
783
// TODO (note-basenote)/12 resolves to a float...
784
784
return 440 *(2 ^((note-49 )/12 ));
@@ -968,7 +968,7 @@ void cycleDisplay(){
968
968
if (setStartLast>0 ) setStartLast=0 ;
969
969
}
970
970
971
- if (displayDim !== 0 ) { // if other display code says to shut off entirely, skip this part
971
+ if (displayDim> 0 ) { // if other display code says to shut off entirely, skip this part
972
972
// Anode channel 0: tubes #2 (min x10) and #5 (sec x1)
973
973
setCathodes (displayLast[2 ],displayLast[5 ]); // Via d2b decoder chip, set cathodes to old digits
974
974
digitalWrite (anodes[0 ], HIGH); // Turn on tubes
You can’t perform that action at this time.
0 commit comments