From c90a2efccbe2130cccd0ec3e2633abd6ad01f3fb Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 6 Apr 2022 23:22:04 +0800 Subject: [PATCH] more fiddling around with resolution Signed-off-by: Sean Cross --- index.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 661e9ea..e406a2a 100644 --- a/index.html +++ b/index.html @@ -410,7 +410,7 @@

Example Serial Port

-

+                    

                     //
                     // Copyright (c) 2010-2018 Antmicro
                     //
@@ -432,18 +432,18 @@
                                 IRQ = new GPIO();
                                 var registersMap = new Dictionary
                                 {
-                    {(long)Registers.RxTx, new DoubleWordRegister(this)
-                    .WithValueField(0, 8,
-                        writeCallback: (_, value) => 
-                            this.TransmitCharacter((byte)value),
-                        valueProviderCallback: _ => {
-                            if(!TryGetCharacter(out var character))
-                            {
-                                this.Log(LogLevel.Warning, "Empty Rx FIFO.");
-                            }
-                            return character;
-                        })
-                    },
+                                    {(long)Registers.RxTx, new DoubleWordRegister(this)
+                                    .WithValueField(0, 8,
+                                        writeCallback: (_, value) => 
+                                            this.TransmitCharacter((byte)value),
+                                        valueProviderCallback: _ => {
+                                            if(!TryGetCharacter(out var character))
+                                            {
+                                                this.Log(LogLevel.Warning, "Empty Rx FIFO.");
+                                            }
+                                            return character;
+                                        })
+                                    },
                                     {(long)Registers.TxFull, new DoubleWordRegister(this)
                                         .WithFlag(0, FieldMode.Read) //tx is never full
                                     },
@@ -701,7 +701,7 @@
                 

SVD: Standard Chip Documentation

-

+                    

                         
                         
                             STMicroelectronics
@@ -892,7 +892,7 @@
             // when the presentation is scaled to fit different resolutions. Can be
             // specified using percentage units.
             width: 1280,
-            height: 960,
+            height: 840,
 
             // Factor of the display size that should remain empty around the content
             margin: 0.1,