fix typo
This commit is contained in:
		
							parent
							
								
									55c6cf45cb
								
							
						
					
					
						commit
						2bb6b813cc
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -241,7 +241,7 @@ void update_lcd_row1() { | ||||||
|     //row1_master.Set_background_image_pic(master_state?10:9);
 |     //row1_master.Set_background_image_pic(master_state?10:9);
 | ||||||
|     elcd_send_stop_bit(); |     elcd_send_stop_bit(); | ||||||
|     elcd.print("row1_master.pic="); |     elcd.print("row1_master.pic="); | ||||||
|     elcd.print(master_state?10:)9; |     elcd.print(master_state?10:9); | ||||||
|     elcd_send_stop_bit(); |     elcd_send_stop_bit(); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -324,10 +324,10 @@ void update_lcd_row4() { | ||||||
| void update_toggle_button() { | void update_toggle_button() { | ||||||
|     //calcuate the current state of the toggle button
 |     //calcuate the current state of the toggle button
 | ||||||
|     bool current_state = row_is_on_or(ROW1_LIGHT1,ROW1_LIGHT2) || row_is_on_or(ROW2_LIGHT1,ROW2_LIGHT2) || row_is_on_or(ROW3_LIGHT1,ROW3_LIGHT2) || row_is_on_or(ROW4_LIGHT1,ROW4_LIGHT2); |     bool current_state = row_is_on_or(ROW1_LIGHT1,ROW1_LIGHT2) || row_is_on_or(ROW2_LIGHT1,ROW2_LIGHT2) || row_is_on_or(ROW3_LIGHT1,ROW3_LIGHT2) || row_is_on_or(ROW4_LIGHT1,ROW4_LIGHT2); | ||||||
|     //light_toggle.Set_background_image_pic(current_state?3:4);
 |     //light_toggle.Set_background_image_pic(current_state?4:3);
 | ||||||
|     elcd_send_stop_bit(); |     elcd_send_stop_bit(); | ||||||
|     elcd.print("light_toggle.pic="); |     elcd.print("light_toggle.pic="); | ||||||
|     elcd.print(current_state?3:4); |     elcd.print(current_state?4:3); | ||||||
|     elcd_send_stop_bit(); |     elcd_send_stop_bit(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue